Skip to content

Commit

Permalink
🐛 minor fix for o1 models (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
dexhunter authored Jan 24, 2025
1 parent 9e48792 commit 51d09b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aide/backend/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def query(

# Handle models with beta limitations
# ref: https://platform.openai.com/docs/guides/reasoning/beta-limitations
if model.startswith("o1-"):
if model.startswith("o1"):
if system_message:
user_message = system_message
system_message = None
Expand Down

0 comments on commit 51d09b7

Please sign in to comment.