- Implement index-based grouping of tool call chunks in _process_tool_call_chunks() - Add _validate_tool_call_chunks() for debug logging and validation - Enhance _process_message_chunk() with tool call ID validation and boundary detection - Add comprehensive unit tests (17 tests) for tool call chunk processing - Fix issue where tool names were incorrectly concatenated (e.g., 'web_searchweb_search') - Ensure chunks from different tool calls (different indices) remain properly separated - Add detailed logging for debugging tool call streaming issues * update the code with suggestions of reviewing |
||
|---|---|---|
| .. | ||
| test_app.py | ||
| test_chat_request.py | ||
| test_mcp_request.py | ||
| test_mcp_utils.py | ||
| test_tool_call_chunks.py | ||