Conversation
There was a problem hiding this comment.
💡 Codex Review
avalan/src/avalan/server/routers/mcp.py
Lines 1058 to 1061 in 01f96d5
ToolCallResponseParser now emits EventType.TOOL_PROCESS with payload={"calls": [...]} (see src/avalan/model/response/parsers/tool.py), but _tool_call_event_item only looks for list payloads or payload["call"]. When the payload is a dict with "calls", call stays None and this function returns None, so _tool_event_notifications skips emitting tool.call events and tool summaries for MCP clients. This breaks tool-call notifications whenever streaming tool calls are parsed. Consider extracting the first call from payload["calls"] as you do in other routers.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
No description provided.