Skip to content

Commit 49e30ad

Browse files
hangfeicopybara-github
authored andcommitted
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. PiperOrigin-RevId: 778934638
1 parent 3fa2ea7 commit 49e30ad

File tree

1 file changed

+889
-0
lines changed

1 file changed

+889
-0
lines changed

0 commit comments

Comments
 (0)