Skip to content

Commit 6a5fc4a

Browse files
author
Lorenzo Pacchiardi
committed
Fix the is_chat_model function to work with gpt-4o
1 parent 234bcde commit 6a5fc4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

evals/registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def is_chat_model(model_name: str) -> bool:
8989
if model_name in CHAT_MODEL_NAMES:
9090
return True
9191

92-
for model_prefix in {"gpt-3.5-turbo-", "gpt-4-"}:
92+
for model_prefix in {"gpt-3.5-turbo-", "gpt-4-", "gpt-4o-"}:
9393
if model_name.startswith(model_prefix):
9494
return True
9595

0 commit comments

Comments
 (0)