Merge PR #441: fix(gateway): return response from /retry handler instead of discarding it
Authored by PercyDikec. Fixes #440. _handle_retry_command called _handle_message(retry_event) but discarded the return value, returning None instead. Since only _process_message_background sends the response via adapter.send(), this meant the agent would run (tool progress was visible) but the final answer was silently dropped on all platforms.
This commit is contained in:
commit
f863a42351
1 changed files with 1 additions and 2 deletions
|
|
@ -1254,8 +1254,7 @@ class GatewayRunner:
|
|||
)
|
||||
|
||||
# Let the normal message handler process it
|
||||
await self._handle_message(retry_event)
|
||||
return None # Response sent through normal flow
|
||||
return await self._handle_message(retry_event)
|
||||
|
||||
async def _handle_undo_command(self, event: MessageEvent) -> str:
|
||||
"""Handle /undo command - remove the last user/assistant exchange."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue