llama-stack-mirror/llama_stack
Ashwin Bharambe 8638537d14
feat(responses): stream progress of tool calls (#3135)
# What does this PR do?
Enhances tool execution streaming by adding support for real-time progress events during tool calls. This implementation adds streaming events for MCP and web search tools, including in-progress, searching, completed, and failed states. 

The refactored `_execute_tool_call` method now returns an async iterator that yields streaming events throughout the tool execution lifecycle.

## Test Plan
Updated the integration test `test_response_streaming_multi_turn_tool_execution` to verify the presence and structure of new streaming events, including:
- Checking for MCP in-progress and completed events
- Verifying that progress events contain required fields (item_id, output_index, sequence_number)
- Ensuring completed events have the necessary sequence_number field
2025-08-13 16:31:25 -07:00
..
apis chore: Change moderations api response to Provider returned categories (#3098) 2025-08-13 09:47:35 -07:00
cli chore: rename templates to distributions (#3035) 2025-08-04 11:34:17 -07:00
core fix: huge speed boost (#3132) 2025-08-13 09:51:35 -07:00
distributions fix: Dell distribution missing kvstore (#3113) 2025-08-13 06:18:25 -07:00
models chore(tests): fix responses and vector_io tests (#3119) 2025-08-12 16:15:53 -07:00
providers feat(responses): stream progress of tool calls (#3135) 2025-08-13 16:31:25 -07:00
strong_typing chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
testing fix(recording): endpoint resolution (#3013) 2025-08-01 16:23:54 -07:00
ui chore: Updating UI Sidebar (#3081) 2025-08-11 07:39:52 -07:00
__init__.py chore(rename): move llama_stack.distribution to llama_stack.core (#2975) 2025-07-30 23:30:53 -07:00
env.py refactor(test): move tools, evals, datasetio, scoring and post training tests (#1401) 2025-03-04 14:53:47 -08:00
log.py chore(tests): fix responses and vector_io tests (#3119) 2025-08-12 16:15:53 -07:00
schema_utils.py feat(auth): API access control (#2822) 2025-07-24 15:30:48 -07:00