()
| 57 | } |
| 58 | |
| 59 | public async fetchModel() { |
| 60 | this.models = await getModels({ provider: this.name, apiKey: this.client.apiKey, baseUrl: this.client.baseURL }) |
| 61 | return this.getModel() |
| 62 | } |
| 63 | |
| 64 | override getModel(): { id: string; info: ModelInfo } { |
| 65 | // Use `||` (not `??`) so an empty-string modelId also falls back to the default, |