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

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(