Skip to content

fix: align Responses parallel tool calls with converted tools - #4405

Merged
seratch merged 1 commit into
mainfrom
fix/responses-parallel-tool-calls
Aug 14, 2026
Merged

fix: align Responses parallel tool calls with converted tools#4405
seratch merged 1 commit into
mainfrom
fix/responses-parallel-tool-calls

Conversation

@seratch

@seratch seratch commented Aug 14, 2026

Copy link
Copy Markdown
Member

This pull request fixes Responses request construction so parallel_tool_calls is derived from the actual converted provider tool payload instead of the raw SDK tool list.

Handoff-only requests now preserve explicit True and False settings, while requests without converted tools omit the setting. The change applies consistently to the core OpenAI Responses and AnyLLM Responses paths, preserves shared streaming and non-streaming behavior, and leaves Chat Completions unchanged.

It also adds focused matrices covering no tools, function tools, and handoff-only tools with True, False, and None.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4850d25fb9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/agents/models/openai_responses.py
@seratch
seratch force-pushed the fix/responses-parallel-tool-calls branch from 4850d25 to a51a6c1 Compare August 14, 2026 01:34
@seratch
seratch enabled auto-merge (squash) August 14, 2026 01:40
@seratch
seratch merged commit f560693 into main Aug 14, 2026
27 of 28 checks passed
@seratch
seratch deleted the fix/responses-parallel-tool-calls branch August 14, 2026 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant