mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
pass empty model id for default
This commit is contained in:
parent
f22f692a04
commit
ea8e61c9e2
1 changed files with 1 additions and 3 deletions
|
|
@ -197,9 +197,7 @@ export class WatsonxAIHandler extends BaseProvider implements SingleCompletionHa
|
|||
override getModel(): { id: string; info: ModelInfo } {
|
||||
return {
|
||||
id: (this.options as any).watsonxModelId || watsonxAiDefaultModelId,
|
||||
info:
|
||||
watsonxAiModels[(this.options as any).watsonxModelId as WatsonxAIModelId] ||
|
||||
watsonxAiModels[watsonxAiDefaultModelId],
|
||||
info: watsonxAiModels[(this.options as any).watsonxModelId as WatsonxAIModelId] || "",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue