功能修改
This commit is contained in:
@@ -38,10 +38,13 @@ describe("ai provider form schemas", () => {
|
||||
...emptyAiProviderForm(),
|
||||
id: "ai.openai",
|
||||
apiKeyRef: "",
|
||||
apiKeyConfigured: true
|
||||
apiKeyConfigured: true,
|
||||
baseUrl: "",
|
||||
baseUrlConfigured: true
|
||||
});
|
||||
|
||||
expect(request.apiKeyRef).toBe("");
|
||||
expect(request.baseUrl).toBe("");
|
||||
expect(JSON.stringify(request)).not.toContain("secret://providers/openai");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user