Skip to content

fix(gateway): wire clarify callback for messaging sessions#12576

Open
tymrtn wants to merge 1 commit into
NousResearch:mainfrom
tymrtn:fix/gateway-clarify-callback
Open

fix(gateway): wire clarify callback for messaging sessions#12576
tymrtn wants to merge 1 commit into
NousResearch:mainfrom
tymrtn:fix/gateway-clarify-callback

Conversation

@tymrtn

@tymrtn tymrtn commented Apr 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • wire a gateway-side clarify_callback into gateway-created agents
  • track pending clarify prompts per session and consume the next user reply
  • add regression tests for callback round-trip, response coercion, and agent wiring

Test Plan

  • source /Users/wondermonkey/.hermes/hermes-agent/venv/bin/activate && python -m pytest tests/gateway/test_clarify_callback.py -q

Closes #12573

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/gateway Gateway runner, session dispatch, delivery P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: gateway sessions expose clarify tool but never wire clarify_callback

2 participants