Dixing (Dex) Xu commited on
Commit
51d09b7
·
unverified ·
1 Parent(s): 9e48792

:bug: minor fix for o1 models (#42)

Browse files
Files changed (1) hide show
  1. aide/backend/__init__.py +1 -1
aide/backend/__init__.py CHANGED
@@ -35,7 +35,7 @@ def query(
35
 
36
  # Handle models with beta limitations
37
  # ref: https://platform.openai.com/docs/guides/reasoning/beta-limitations
38
- if model.startswith("o1-"):
39
  if system_message:
40
  user_message = system_message
41
  system_message = None
 
35
 
36
  # Handle models with beta limitations
37
  # ref: https://platform.openai.com/docs/guides/reasoning/beta-limitations
38
+ if model.startswith("o1"):
39
  if system_message:
40
  user_message = system_message
41
  system_message = None