@wonderwhy-er suggestion fix pr
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user