feat: provider management & chat

This commit is contained in:
Acbox
2026-01-26 23:06:54 +08:00
parent 35a8927a79
commit da6a264699
28 changed files with 4699 additions and 63 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ CREATE TABLE IF NOT EXISTS llm_providers (
created_at TIMESTAMPTZ NOT NULL DEFAULT now(),
updated_at TIMESTAMPTZ NOT NULL DEFAULT now(),
CONSTRAINT llm_providers_name_unique UNIQUE (name),
CONSTRAINT llm_providers_client_type_check CHECK (client_type IN ('openai', 'anthropic', 'google', 'bedrock', 'ollama', 'azure', 'dashscope', 'other'))
CONSTRAINT llm_providers_client_type_check CHECK (client_type IN ('openai', 'openai-compat', 'anthropic', 'google', 'ollama'))
);
CREATE TABLE IF NOT EXISTS models (