feat(database): ensure system_prompts table creation is conditional; update journal and snapshot files

This commit is contained in:
Willie Zutz 2025-07-17 00:00:52 -06:00
parent 70cdad1cd4
commit e98138c06d
4 changed files with 4 additions and 7 deletions

View file

@ -1,4 +1,4 @@
CREATE TABLE `system_prompts` (
CREATE TABLE IF NOT EXISTS `system_prompts` (
`id` text PRIMARY KEY NOT NULL,
`name` text NOT NULL,
`content` text NOT NULL,

View file

@ -166,4 +166,4 @@
"internal": {
"indexes": {}
}
}
}

View file

@ -17,4 +17,4 @@
"breakpoints": true
}
]
}
}

View file

@ -135,10 +135,7 @@ export const POST = async (req: Request) => {
),
},
AIMLAPI: {
API_KEY: getUpdatedProtectedValue(
config.aimlApiKey,
getAimlApiKey(),
),
API_KEY: getUpdatedProtectedValue(config.aimlApiKey, getAimlApiKey()),
},
LM_STUDIO: {
API_URL: config.lmStudioApiUrl,