mirror of
https://github.com/Hopiu/llm.git
synced 2026-03-16 20:50:25 +00:00
Enable vision for o3 and o4-mini, closes #1037
This commit is contained in:
parent
2df619e7d8
commit
ad7dc2ef71
1 changed files with 20 additions and 4 deletions
|
|
@ -134,12 +134,28 @@ def register_models(register):
|
|||
AsyncChat("o3-mini", reasoning=True, supports_schema=True, supports_tools=True),
|
||||
)
|
||||
register(
|
||||
Chat("o3", reasoning=True, supports_schema=True, supports_tools=True),
|
||||
AsyncChat("o3", reasoning=True, supports_schema=True, supports_tools=True),
|
||||
Chat(
|
||||
"o3", vision=True, reasoning=True, supports_schema=True, supports_tools=True
|
||||
),
|
||||
AsyncChat(
|
||||
"o3", vision=True, reasoning=True, supports_schema=True, supports_tools=True
|
||||
),
|
||||
)
|
||||
register(
|
||||
Chat("o4-mini", reasoning=True, supports_schema=True, supports_tools=True),
|
||||
AsyncChat("o4-mini", reasoning=True, supports_schema=True, supports_tools=True),
|
||||
Chat(
|
||||
"o4-mini",
|
||||
vision=True,
|
||||
reasoning=True,
|
||||
supports_schema=True,
|
||||
supports_tools=True,
|
||||
),
|
||||
AsyncChat(
|
||||
"o4-mini",
|
||||
vision=True,
|
||||
reasoning=True,
|
||||
supports_schema=True,
|
||||
supports_tools=True,
|
||||
),
|
||||
)
|
||||
# The -instruct completion model
|
||||
register(
|
||||
|
|
|
|||
Loading…
Reference in a new issue