fix: clean up models-config provider normalization

This commit is contained in:
Peter Steinberger committed 2026-01-12 17:14:04 +00:00
1 parent 1b2c1545a0
commit fd1e959c2d
2 files changed
+6 -3

No files matched your search

+5 -1
View File
@@ -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(