Skip to content

added test for getting parallel tool calls through openai compat#4886

Merged
virajmehta merged 3 commits intomainfrom
viraj/openai-compat-parallel-tool-calls
Nov 28, 2025
Merged

added test for getting parallel tool calls through openai compat#4886
virajmehta merged 3 commits intomainfrom
viraj/openai-compat-parallel-tool-calls

Conversation

@virajmehta
Copy link
Member

@virajmehta virajmehta commented Nov 27, 2025

This just adds test coverage to the openai compat layer; I did not need to make a production change to get this to work.


Important

Add tests for parallel tool calls in OpenAI compatibility layer and update configuration for weather_helper_parallel.

  • Tests:
    • Add test_openai_compatible_parallel_tool_calls in openai_compatible.rs to validate parallel tool calls for weather_helper_parallel.
    • Add test_openai_compatible_parallel_tool_calls_multi_turn in openai_compatible.rs for multi-turn interactions with tool results.
  • Configuration:
    • Add [functions.weather_helper_parallel.variants.gpt-5-mini] to tensorzero.functions.toml with model openai::gpt-5-mini and max_tokens set to 1000.

This description was created by Ellipsis for 594baed. You can customize this summary. It will automatically update as commits are pushed.

@GabrielBianconi GabrielBianconi added this pull request to the merge queue Nov 28, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 28, 2025
@virajmehta virajmehta added this pull request to the merge queue Nov 28, 2025
github-merge-queue bot pushed a commit that referenced this pull request Nov 28, 2025
* added test for getting parallel tool calls through openai compat interface

* added tests for parallel tool calling roundtrip with gpt5mini in openai compatible endpoint

* ripped redundant test
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 28, 2025
@virajmehta virajmehta added this pull request to the merge queue Nov 28, 2025
Merged via the queue into main with commit 2874ed4 Nov 28, 2025
55 checks passed
@virajmehta virajmehta deleted the viraj/openai-compat-parallel-tool-calls branch November 28, 2025 19:50
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.

3 participants