mirror of
https://github.com/stackblitz/bolt.new
synced 2025-02-06 04:48:04 +00:00
@wonderwhy-er suggestion fix pr
This commit is contained in:
parent
f9e750d76e
commit
dff340eba5
@ -86,6 +86,7 @@ export function getOpenRouterModel(apiKey: string, model: string) {
|
|||||||
export function getLMStudioModel(baseURL: string, model: string) {
|
export function getLMStudioModel(baseURL: string, model: string) {
|
||||||
const lmstudio = createOpenAI({
|
const lmstudio = createOpenAI({
|
||||||
baseUrl: `${baseURL}/v1`,
|
baseUrl: `${baseURL}/v1`,
|
||||||
|
apiKey: "",
|
||||||
});
|
});
|
||||||
|
|
||||||
return lmstudio(model);
|
return lmstudio(model);
|
||||||
|
Loading…
Reference in New Issue
Block a user