Skip to content

Commit d82623f

Browse files
AryanBagadeseratch
andauthored
Update .changeset/anthropic-extended-thinking.md
Co-authored-by: Kazuhiro Sera <seratch@openai.com>
1 parent 939b772 commit d82623f

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.changeset/anthropic-extended-thinking.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,4 @@
22
'@openai/agents-extensions': patch
33
---
44

5-
Add support for Anthropic extended thinking (reasoning) in the AI SDK adapter.
6-
7-
This feature enables capturing and preserving Claude's extended thinking blocks when using the AI SDK adapter with Anthropic models. Key changes:
8-
9-
- Non-streaming: Extract reasoning parts from AI SDK responses and output them as `ReasoningItem` objects before tool calls (required by Anthropic API)
10-
- Streaming: Handle `reasoning-start`, `reasoning-delta`, and `reasoning-end` events to accumulate thinking content
11-
- Signature preservation: Store Anthropic's thinking signature in `providerData` for multi-turn conversation support
12-
- Round-trip support: Existing `itemsToLanguageV2Messages` already passes `providerData` to `providerOptions`, enabling signatures to be sent back to the API
13-
14-
Fixes #628
5+
feat(agents-extensions): #628 add Anthropic extended thinking support

0 commit comments

Comments
 (0)