Skip to content

test: Adds test for streaming + function calls #1780

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 10, 2025

Conversation

copybara-service[bot]
Copy link

test: Adds test for streaming + function calls

This commit includes a number of new tests for live streaming with function calls. These tests cover various scenarios:

  • Single function calls
  • Multiple function calls
  • Parallel function calls
  • Function calls with errors
  • Synchronous function calls
  • Simple streaming tools
  • Video streaming tools
  • Stopping a streaming tool
  • Multiple streaming tools simultaneously

The tests use mock models and custom runners to simulate the interaction between the agent, model, and tools. They verify that function calls are correctly generated, executed, and that the expected data is returned.

@copybara-service copybara-service bot force-pushed the copybara/778934638 branch 5 times, most recently from 31a74b9 to e96f6d6 Compare July 10, 2025 02:37
This commit includes a number of new tests for live streaming with function calls. These tests cover various scenarios:
- Single function calls
- Multiple function calls
- Parallel function calls
- Function calls with errors
- Synchronous function calls
- Simple streaming tools
- Video streaming tools
- Stopping a streaming tool
- Multiple streaming tools simultaneously

The tests use mock models and custom runners to simulate the interaction between the agent, model, and tools. They verify that function calls are correctly generated, executed, and that the expected data is returned.

PiperOrigin-RevId: 781318483
@copybara-service copybara-service bot force-pushed the copybara/778934638 branch from e96f6d6 to d792018 Compare July 10, 2025 02:41
@copybara-service copybara-service bot merged commit d792018 into main Jul 10, 2025
@copybara-service copybara-service bot deleted the copybara/778934638 branch July 10, 2025 02:41
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