GPT-4.5 Support (#1868)
This commit is contained in:
@@ -68,6 +68,15 @@ if settings.ENABLE_OPENAI:
|
|||||||
add_assistant_prefix=False,
|
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(
|
LLMConfigRegistry.register_config(
|
||||||
"OPENAI_GPT4V",
|
"OPENAI_GPT4V",
|
||||||
LLMConfig(
|
LLMConfig(
|
||||||
|
|||||||
Reference in New Issue
Block a user