@wonderwhy-er suggestion fix pr

This commit is contained in:
Karrot0 2024-11-10 21:08:01 -05:00
parent f9e750d76e
commit dff340eba5

View File

@ -86,6 +86,7 @@ export function getOpenRouterModel(apiKey: string, model: string) {
export function getLMStudioModel(baseURL: string, model: string) {
const lmstudio = createOpenAI({
baseUrl: `${baseURL}/v1`,
apiKey: "",
});
return lmstudio(model);