Skip to content

Commit e763f41

Browse files
fix: add empty models array to vercel-ai-gateway provider override
Made-with: Cursor
1 parent 83ae2be commit e763f41

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/lib/openclaw/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export interface OpenClawConfig {
1717
}
1818
}
1919
models: {
20-
providers: Record<string, { baseUrl: string }>
20+
providers: Record<string, { baseUrl: string; models: never[] }>
2121
}
2222
}
2323

@@ -65,6 +65,7 @@ export function generateOpenClawConfig(
6565
providers: {
6666
'vercel-ai-gateway': {
6767
baseUrl: params.proxyBaseUrl,
68+
models: [],
6869
},
6970
},
7071
},

0 commit comments

Comments
 (0)