Skip to content

Commit

Permalink
o1-preview and o1-mini can stream now
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Dec 17, 2024
1 parent 8378da6 commit 6cf4127
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions llm/default_plugins/openai_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ def register_models(register):
)
# o1
register(
Chat("o1-preview", can_stream=False, allows_system_prompt=False),
AsyncChat("o1-preview", can_stream=False, allows_system_prompt=False),
Chat("o1-preview", allows_system_prompt=False),
AsyncChat("o1-preview", allows_system_prompt=False),
)
register(
Chat("o1-mini", can_stream=False, allows_system_prompt=False),
AsyncChat("o1-mini", can_stream=False, allows_system_prompt=False),
Chat("o1-mini", allows_system_prompt=False),
AsyncChat("o1-mini", allows_system_prompt=False),
)
# The -instruct completion model
register(
Expand Down

0 comments on commit 6cf4127

Please sign in to comment.