feat(openai): add Live gateway support

This commit is contained in:
song committed 2026-07-25 12:50:46 +08:00
1 parent 37ed639d1e
commit e6eb23eaac
55 files changed
+2607 -30

No files matched your search

@@ -55,6 +55,9 @@ func TestMigrationsRunner_IsIdempotent_AndSchemaIsUpToDate(t *testing.T) {
requireColumn(t, tx, "accounts", "session_window_status", "character varying", 20, true)
requireIndex(t, tx, "accounts", "idx_accounts_autopause_expiry_due")
// groups: OpenAI Live 默认关闭,管理员显式开启后才可访问。
requireColumn(t, tx, "groups", "allow_live", "boolean", 0, false)
// api_keys: key length should be 128
requireColumn(t, tx, "api_keys", "key", "character varying", 128, false)