fabro/crates
Bryan Helmkamp 17a42d19f2 Preserve OpenAI reasoning items for Responses API round-trip
The Responses API requires that reasoning items (type: "reasoning",
id: "rs_xxx") are included alongside their associated function_call
items when replaying conversation history. Without them:
"function_call was provided without its required 'reasoning' item"

Store reasoning output items as ContentPart::Other and replay them
as raw input items in translate_input. Handles both non-streaming
(parse_output) and streaming (handle_output_item_done) paths.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 10:30:39 -05:00
..
agent Remove deprecated anthropic-beta header values 2026-02-23 10:05:43 -05:00
attractor Rename unified-llm crate to llm 2026-02-23 09:22:14 -05:00
llm Preserve OpenAI reasoning items for Responses API round-trip 2026-02-23 10:30:39 -05:00