#5728 fix missing boolean check
This commit is contained in:
parent
71b969d1e0
commit
c30e143100
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ class OpenAI extends BaseLLM {
|
|||
}
|
||||
|
||||
private isOSeriesModel(model?: string): boolean {
|
||||
return !!model && model.match(/^o[0-9]+/);
|
||||
return !!model && !!model.match(/^o[0-9]+/);
|
||||
}
|
||||
|
||||
private isFireworksAiModel(model?: string): boolean {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue