Skip to content

The agent engineering platform.

fix(openai): correct `gpt-5.3-chat-latest` profile (#39009)

Mason Daugherty592055e15e13
diff --git a/libs/partners/openai/langchain_openai/data/_profiles.py b/libs/partners/openai/langchain_openai/data/_profiles.py
index 46db8e9c51..846de6d69e 100644
--- a/libs/partners/openai/langchain_openai/data/_profiles.py
+++ b/libs/partners/openai/langchain_openai/data/_profiles.py
@@ -875,13 +875,6 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"tool_choice": True,
"tool_call_streaming": True,
- "reasoning_effort_levels": [
- "none",
- "low",
- "medium",
- "high",
- "xhigh",
- ],
},
"gpt-5.3-codex": {
"name": "GPT-5.3 Codex",
diff --git a/libs/partners/openai/langchain_openai/data/profile_augmentations.toml b/libs/partners/openai/langchain_openai/data/profile_augmentations.toml
index c5e8838771..b33c797867 100644
--- a/libs/partners/openai/langchain_openai/data/profile_augmentations.toml
+++ b/libs/partners/openai/langchain_openai/data/profile_augmentations.toml
@@ -73,9 +73,6 @@ reasoning_effort_levels = ["none", "low", "medium", "high", "xhigh"]
[overrides."gpt-5.2-codex"]
reasoning_effort_levels = ["none", "low", "medium", "high", "xhigh"]
-[overrides."gpt-5.3-chat-latest"]
-reasoning_effort_levels = ["none", "low", "medium", "high", "xhigh"]
-
[overrides."gpt-5.3-codex"]
reasoning_effort_levels = ["none", "low", "medium", "high", "xhigh"]
diff --git a/libs/partners/openai/tests/unit_tests/chat_models/test_base.py b/libs/partners/openai/tests/unit_tests/chat_models/test_base.py
index 09159f79af..f2a72620d0 100644
--- a/libs/partners/openai/tests/unit_tests/chat_models/test_base.py
+++ b/libs/partners/openai/tests/unit_tests/chat_models/test_base.py
@@ -167,6 +167,14 @@ def test_profile() -> None:
assert model.profile["max_input_tokens"] == 272_000
+def test_gpt_5_3_chat_latest_profile_has_no_reasoning_effort() -> None:
+ model = ChatOpenAI(model="gpt-5.3-chat-latest")
+
+ assert model.profile
+ assert model.profile["reasoning_output"] is False
+ assert "reasoning_effort_levels" not in model.profile
+
+
def test_function_message_dict_to_function_message() -> None:
content = json.dumps({"result": "Example #1"})
name = "test_function"