mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 15:54:32 +00:00
fix: clean up models-config provider normalization
This commit is contained in:
@@ -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