Merge pull request #3159 from continuedev/nate/pred-output
support predicted outputs for other models
This commit is contained in:
commit
0aa46c3fd1
1 changed files with 2 additions and 1 deletions
|
|
@ -105,7 +105,8 @@ class OpenAI extends BaseLLM {
|
|||
}
|
||||
|
||||
protected supportsPrediction(model: string): boolean {
|
||||
return ["gpt-4o-mini", "gpt-4o"].includes(model);
|
||||
const SUPPORTED_MODELS = ["gpt-4o-mini", "gpt-4o", "mistral-large"];
|
||||
return SUPPORTED_MODELS.some((m) => model.includes(m));
|
||||
}
|
||||
|
||||
private convertTool(tool: Tool): any {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue