fix: clean up models-config provider normalization
This commit is contained in:
1 parent
1b2c1545a0
commit
fd1e959c2d
2 files changed
+6
-3
No files matched your search
@@ -243,7 +243,11 @@ describe("models config", () => {
|
||||
const parsed = JSON.parse(raw) as {
|
||||
providers: Record<
|
||||
string,
|
||||
{ baseUrl?: string; apiKey?: string; models?: Array<{ id: string }> }
|
||||
{
|
||||
baseUrl?: string;
|
||||
apiKey?: string;
|
||||
models?: Array<{ id: string }>;
|
||||
}
|
||||
>;
|
||||
};
|
||||
expect(parsed.providers.minimax?.baseUrl).toBe(
|
||||
|
||||
Reference in new issue
Block a user