feat: allow undefined new model (#6933)

This commit is contained in:
darkskygit
2024-05-14 13:05:07 +00:00
parent b036f1b5c9
commit 98e218af93
8 changed files with 74 additions and 26 deletions
@@ -50,7 +50,7 @@ export class FalProvider
return FalProvider.capabilities;
}
isModelAvailable(model: string): boolean {
async isModelAvailable(model: string): Promise<boolean> {
return this.availableModels.includes(model);
}