Skip to content

Commit 290daba

Browse files
ccurmeopen-swe
andauthored
fix(anthropic): add Opus 5.5 and GPT-6 profile augmentations (#40785)
Co-authored-by: ccurme <[email protected]> Co-authored-by: open-swe[bot] <[email protected]>
1 parent 59baeb2 commit 290daba

4 files changed

Lines changed: 40 additions & 1 deletion

File tree

‎libs/partners/anthropic/langchain_anthropic/data/_profiles.py‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,13 +353,21 @@
353353
"video_outputs": False,
354354
"reasoning_output": True,
355355
"tool_calling": True,
356-
"structured_output": False,
356+
"structured_output": True,
357357
"attachment": True,
358358
"temperature": False,
359359
"image_url_inputs": True,
360360
"pdf_tool_message": True,
361361
"image_tool_message": True,
362362
"tool_call_streaming": True,
363+
"reasoning_effort_levels": [
364+
"low",
365+
"medium",
366+
"high",
367+
"xhigh",
368+
"max",
369+
],
370+
"reasoning_effort_default": "medium",
363371
},
364372
"claude-sonnet-4-5": {
365373
"name": "Claude Sonnet 4.5 (latest)",

‎libs/partners/anthropic/langchain_anthropic/data/profile_augmentations.toml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ structured_output = true
4848
reasoning_effort_levels = ["low", "medium", "high", "xhigh", "max"]
4949
reasoning_effort_default = "high"
5050

51+
[overrides."claude-opus-5-5"]
52+
structured_output = true
53+
reasoning_effort_levels = ["low", "medium", "high", "xhigh", "max"]
54+
reasoning_effort_default = "medium"
55+
5156
[overrides."claude-sonnet-5"]
5257
structured_output = true
5358
reasoning_effort_levels = ["low", "medium", "high", "xhigh", "max"]

‎libs/partners/openai/langchain_openai/data/_profiles.py‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1230,6 +1230,15 @@
12301230
"image_tool_message": True,
12311231
"tool_choice": True,
12321232
"tool_call_streaming": True,
1233+
"reasoning_effort_levels": [
1234+
"none",
1235+
"low",
1236+
"medium",
1237+
"high",
1238+
"xhigh",
1239+
"max",
1240+
],
1241+
"reasoning_effort_default": "medium",
12331242
},
12341243
"gpt-6-sol": {
12351244
"name": "GPT-6 Sol",
@@ -1257,6 +1266,15 @@
12571266
"image_tool_message": True,
12581267
"tool_choice": True,
12591268
"tool_call_streaming": True,
1269+
"reasoning_effort_levels": [
1270+
"none",
1271+
"low",
1272+
"medium",
1273+
"high",
1274+
"xhigh",
1275+
"max",
1276+
],
1277+
"reasoning_effort_default": "medium",
12601278
},
12611279
"gpt-image-1": {
12621280
"name": "gpt-image-1",

‎libs/partners/openai/langchain_openai/data/profile_augmentations.toml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,11 @@ reasoning_effort_default = "medium"
117117

118118
[overrides."gpt-6-astra"]
119119
reasoning_effort_levels = ["low", "medium", "high", "xhigh", "max"]
120+
121+
[overrides."gpt-6-sol"]
122+
reasoning_effort_levels = ["none", "low", "medium", "high", "xhigh", "max"]
123+
reasoning_effort_default = "medium"
124+
125+
[overrides."gpt-6-luna"]
126+
reasoning_effort_levels = ["none", "low", "medium", "high", "xhigh", "max"]
127+
reasoning_effort_default = "medium"

0 commit comments

Comments
 (0)