mirror of
https://github.com/stackblitz/bolt.new
synced 2025-02-06 04:48:04 +00:00
Changed mode.ts to add BaseURL. Thanks @alumbs
This commit is contained in:
parent
748e0d64ef
commit
8dfc4f7ba9
@ -82,7 +82,7 @@ export function getOpenRouterModel(apiKey: string, model: string) {
|
||||
|
||||
export function getLMStudioModel(baseURL: string, model: string) {
|
||||
const lmstudio = createOpenAI({
|
||||
baseUrl: 'http://localhost:1234/v1',
|
||||
baseUrl: `${baseURL}/v1`,
|
||||
});
|
||||
|
||||
return lmstudio(model);
|
||||
|
Loading…
Reference in New Issue
Block a user