fix: fix type errors

This commit is contained in:
Fred Liang
2023-12-24 02:39:06 +08:00
parent ae0d68c27e
commit 45798f993d
5 changed files with 46 additions and 4 deletions

View File

@@ -323,6 +323,11 @@ export class ChatGPTApi implements LLMApi {
return chatModels.map((m) => ({
name: m.id,
available: true,
provider: {
id: "openai",
providerName: "OpenAI",
providerType: "openai",
},
}));
}
}