mirror of
https://github.com/Hopiu/llm.git
synced 2026-05-14 08:43:13 +00:00
o1-preview and o1-mini can stream now
Refs https://github.com/simonw/llm/issues/676#issuecomment-2549328154
This commit is contained in:
parent
571f4b2a4d
commit
aa25ad1d54
1 changed files with 4 additions and 4 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue