feat: 完整游戏运维功能
This commit is contained in:
@@ -9,7 +9,7 @@ const provider: AiProviderResponse = {
|
||||
name: "OpenAI Relay",
|
||||
kind: "openai-compatible",
|
||||
baseUrl: "https://relay.example.test/v1",
|
||||
apiKeyRef: "secret://providers/openai",
|
||||
apiKeyConfigured: true,
|
||||
models: ["gpt-4.1", "gpt-4.1-mini"],
|
||||
defaultModel: "gpt-4.1-mini",
|
||||
relayMode: "relay",
|
||||
@@ -43,7 +43,8 @@ describe("AiProvidersPage", () => {
|
||||
|
||||
expect(html).toContain("OpenAI Relay");
|
||||
expect(html).toContain("本地开发");
|
||||
expect(html).toContain("secret://providers/openai");
|
||||
expect(html).toContain("已配置");
|
||||
expect(html).not.toContain("secret://providers/openai");
|
||||
expect(html).toContain("测试");
|
||||
expect(html).toContain("模型");
|
||||
expect(html).toContain("编辑");
|
||||
|
||||
Reference in New Issue
Block a user