feat(database): ensure system_prompts table creation is conditional; update journal and snapshot files
This commit is contained in:
parent
70cdad1cd4
commit
e98138c06d
4 changed files with 4 additions and 7 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue