fix(gateway): return response from /retry handler instead of discarding it
This commit is contained in:
parent
21d61bdd71
commit
16cb6d1a6e
1 changed files with 1 additions and 2 deletions
|
|
@ -1253,8 +1253,7 @@ class GatewayRunner:
|
||||||
)
|
)
|
||||||
|
|
||||||
# Let the normal message handler process it
|
# Let the normal message handler process it
|
||||||
await self._handle_message(retry_event)
|
return await self._handle_message(retry_event)
|
||||||
return None # Response sent through normal flow
|
|
||||||
|
|
||||||
async def _handle_undo_command(self, event: MessageEvent) -> str:
|
async def _handle_undo_command(self, event: MessageEvent) -> str:
|
||||||
"""Handle /undo command - remove the last user/assistant exchange."""
|
"""Handle /undo command - remove the last user/assistant exchange."""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue