fix(gateway): return response from /retry handler instead of discarding it

This commit is contained in:
PercyDikec 2026-03-05 19:59:54 +03:00
parent 21d61bdd71
commit 16cb6d1a6e
No known key found for this signature in database
GPG key ID: 8838A85B2422556A

View file

@ -1253,8 +1253,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."""