mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-12 13:52:15 +00:00
docs(cron): correct stale 'no new seed code' comments for in_channel
The in_channel surface DOES add a seed: _seed_cron_channel_session CREATES the flat (platform, chat_id, None) session and mirrors the brief into it, because mirror_to_session only APPENDS to an existing session and the flat channel row is otherwise absent for a chat_postMessage delivery. Correct the scheduler thread-skip comment and the test class docstring, which still described the earlier 'let the existing mirror seed it' design.
This commit is contained in:
parent
751a300fca
commit
ac3f4aed96
2 changed files with 11 additions and 7 deletions
|
|
@ -4153,8 +4153,10 @@ class TestCronContinuableSurfaceInChannel:
|
|||
generically from pconfig.extra; the in_channel branch is gated on the
|
||||
adapter capability flag ``supports_inchannel_continuable`` (Slack=True,
|
||||
others fail SAFE to thread). In in_channel mode the thread-open branch is
|
||||
SKIPPED (thread_id stays None), so the existing origin-mirror seeds the
|
||||
shared-channel session — no new seed code (G6).
|
||||
SKIPPED (thread_id stays None), then ``_seed_cron_channel_session`` CREATES
|
||||
the flat shared-channel session and mirrors the brief into it (the shipped
|
||||
mirror only APPENDS to an existing session, and the flat channel row is
|
||||
otherwise absent for a chat_postMessage delivery).
|
||||
"""
|
||||
|
||||
def _slack_cfg(self, extra):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue