memory leak
This commit is contained in:
21
scripts/postgres/06-ai.sql
Normal file
21
scripts/postgres/06-ai.sql
Normal file
@@ -0,0 +1,21 @@
|
||||
BEGIN TRANSACTION;
|
||||
DROP TABLE IF EXISTS ai_models;
|
||||
COMMIT TRANSACTION;
|
||||
|
||||
CREATE TABLE ai_models(
|
||||
id text NOT NULL,
|
||||
key text NOT NULL,
|
||||
name text NOT NULL,
|
||||
context_size int NOT NULL DEFAULT 16
|
||||
);
|
||||
CREATE UNIQUE INDEX ai_models_uindex ON ai_models(id);
|
||||
|
||||
BEGIN TRANSACTION;
|
||||
INSERT INTO ai_models VALUES ('deepseek3.1', 'deepseek-ai/deepseek-v3.1-terminus', 'DeepSeek V3.1', 128);
|
||||
INSERT INTO ai_models VALUES ('deepseek3.2', 'deepseek-ai/deepseek-v3.2', 'DeepSeek V3.2', 128);
|
||||
INSERT INTO ai_models VALUES ('gpt5.1', 'gpt-5.1', 'ChatGPT 5.1', 128);
|
||||
INSERT INTO ai_models VALUES ('gpt5.2', 'gpt-5.2', 'ChatGPT 5.2', 400);
|
||||
INSERT INTO ai_models VALUES ('gpt4o', 'chatgpt-4o-latest', 'ChatGPT 4o', 128);
|
||||
INSERT INTO ai_models VALUES ('gemini2.5pro', 'google/gemini-2.5-pro-preview-05-06', 'Gemini 2.5 Pro', 1000);
|
||||
INSERT INTO ai_models VALUES ('sonnet4', 'anthropic/claude-sonnet-4', 'Claude Sonnet 4', 1000);
|
||||
COMMIT TRANSACTION;
|
||||
Reference in New Issue
Block a user