o1 support
This commit is contained in:
parent
0f05f580ef
commit
fd3644da02
1 changed files with 1 additions and 3 deletions
|
|
@ -93,9 +93,7 @@ class OpenAI extends BaseLLM {
|
|||
}
|
||||
|
||||
private isO1Model(model?: string): boolean {
|
||||
return (
|
||||
!!model && (model.startsWith("o1-preview") || model.startsWith("o1-mini"))
|
||||
);
|
||||
return !!model && model.startsWith("o1");
|
||||
}
|
||||
|
||||
protected supportsPrediction(model: string): boolean {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue