Skip to content

test(realtime): cover multiple JSON tool outputs#3139

Closed
adityasingh2400 wants to merge 1 commit intoopenai:mainfrom
adityasingh2400:test/realtime-multiple-tool-output-1168
Closed

test(realtime): cover multiple JSON tool outputs#3139
adityasingh2400 wants to merge 1 commit intoopenai:mainfrom
adityasingh2400:test/realtime-multiple-tool-output-1168

Conversation

@adityasingh2400
Copy link
Copy Markdown
Contributor

Summary

Covers #1168

Test plan

  • uv run ruff format tests/realtime/test_session.py
  • uv run ruff check tests/realtime/test_session.py
  • uv run pytest tests/realtime/test_session.py::TestToolCallExecution::test_multiple_json_tool_outputs_each_request_follow_up_response -q
  • uv run pytest tests/realtime/test_session.py -q
  • uv run mypy tests/realtime/test_session.py
  • make lint

Add regression coverage showing chained realtime tool calls returning structured JSON each request a follow-up response, guarding the voice-output path reported in openai#1168.
@seratch
Copy link
Copy Markdown
Member

seratch commented May 6, 2026

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

ℹ️ 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".

@seratch
Copy link
Copy Markdown
Member

seratch commented May 6, 2026

The existing tests already cover these scenarios.

@seratch seratch closed this May 6, 2026
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.

2 participants