Skip to content

fix: preserve tool call IDs in OpenAI-compatible providers - #665

Open
gjury wants to merge 1 commit into
huggingface:mainfrom
gjury:fix/openai-compatible-toolcall
Open

fix: preserve tool call IDs in OpenAI-compatible providers#665
gjury wants to merge 1 commit into
huggingface:mainfrom
gjury:fix/openai-compatible-toolcall

Conversation

@gjury

@gjury gjury commented Aug 26, 2026

Copy link
Copy Markdown

Fixes tool call ID handling in OpenAI-compatible providers by applying the same combined call_id|item_id approach already used by the OpenAI Codex provider. This preserves provider-native identifiers across streamed tool calls and follow-up tool results, with tests covering Responses API compatibility.

@gjury
gjury requested a review from alejandro-ao as a code owner August 26, 2026 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant