GPT-4.5 Support (#1868)

This commit is contained in:
Shuchang Zheng 2025-03-02 23:49:18 -05:00 committed by GitHub
parent 05960aa894
commit c6a733ff27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,6 +68,15 @@ if settings.ENABLE_OPENAI:
add_assistant_prefix=False,
),
)
LLMConfigRegistry.register_config(
"OPENAI_GPT4_5",
LLMConfig(
"gpt-4.5-preview",
["OPENAI_API_KEY"],
supports_vision=True,
add_assistant_prefix=False,
),
)
LLMConfigRegistry.register_config(
"OPENAI_GPT4V",
LLMConfig(