P0 fixes: - ModelError.Is(): use exact matching instead of substring contains() - shouldClearStickySession: add context param for cancellation/tracing P1 fixes: - TODO stubs: return 501 Not Implemented errors - validateInstanceSignature: deduplicate to shared validateCodeSignature() - Error messages: standardize to English only - http.go: remove pseudo if-else with duplicate branches
7 lines
298 B
SQL
7 lines
298 B
SQL
-- 添加分组支持的模型系列字段
|
||
ALTER TABLE groups
|
||
ADD COLUMN IF NOT EXISTS supported_model_scopes JSONB NOT NULL
|
||
DEFAULT '["claude", "gemini_text", "gemini_image"]'::jsonb;
|
||
|
||
COMMENT ON COLUMN groups.supported_model_scopes IS '支持的模型系列:claude, gemini_text, gemini_image';
|