alpha
Login
or
Join now
lass.pds.lassul.us
/
superconfig
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
1
Pipelines
superconfig
/
tools
/
hermes-voice
/
hermes-plugin
2 files
at
7d3f6b7c65596d3381e231c75bfdfcf55330c78d
Hermes
tools.hermes-voice: let Hermes end the call (end_call)
3d ago
307216c4
__init__.py
tools.hermes-voice: let Hermes end the call (end_call) gpt-live-1 with client delegation has no client-side function tools: the only model-to-page signal is session.delegation.created, which carries no name or arguments. So the voice model does not hang up itself: goodbye, "that's all", "hang up" and "I'm leaving" are delegated like any request, and Hermes decides. BACKEND_NOTE tells it to call end_call once requested work has been started or handed off, never while it still needs an answer such as an approval. end_call lives in the gateway plugin. Plugin handlers get the calling session_id (model_tools.py passes it to registry.dispatch), and the session context names the platform. The tool succeeds only on the API server in a session whose lineage starts at a voice-* id: context compression continues a session under a new id with the old one as parent_session_id, so the prefix alone would not survive a long call. Elsewhere it returns an error and changes nothing. hermes-voice sees the tool in the run's events (tool.completed of end_call without error) and passes an end_call item to the page instead of a tool item. The page hands Hermes's reply to the voice model as usual and closes the session once the voice has spoken it and been quiet for 800 ms, at the latest after 30 s; close() now runs only once. A run no page listens to (hang-up flush, page gone) only logs it.
3 days ago
plugin.yaml
tools.hermes-voice: let Hermes end the call (end_call) gpt-live-1 with client delegation has no client-side function tools: the only model-to-page signal is session.delegation.created, which carries no name or arguments. So the voice model does not hang up itself: goodbye, "that's all", "hang up" and "I'm leaving" are delegated like any request, and Hermes decides. BACKEND_NOTE tells it to call end_call once requested work has been started or handed off, never while it still needs an answer such as an approval. end_call lives in the gateway plugin. Plugin handlers get the calling session_id (model_tools.py passes it to registry.dispatch), and the session context names the platform. The tool succeeds only on the API server in a session whose lineage starts at a voice-* id: context compression continues a session under a new id with the old one as parent_session_id, so the prefix alone would not survive a long call. Elsewhere it returns an error and changes nothing. hermes-voice sees the tool in the run's events (tool.completed of end_call without error) and passes an end_call item to the page instead of a tool item. The page hands Hermes's reply to the voice model as usual and closes the session once the voice has spoken it and been quiet for 800 ms, at the latest after 30 s; close() now runs only once. A run no page listens to (hang-up flush, page gone) only logs it.
3 days ago