#5728 fix missing boolean check

This commit is contained in:
DERHauck 2025-05-19 09:54:31 +02:00
parent 71b969d1e0
commit c30e143100

View file

@ -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 {