mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-24 05:41:40 +00:00
fix(cron): normalize partial job records
This commit is contained in:
parent
f2afa68a4a
commit
e407376c50
6 changed files with 122 additions and 11 deletions
|
|
@ -1788,6 +1788,11 @@ class TestBuildJobPromptSilentHint:
|
|||
result = _build_job_prompt(job)
|
||||
assert "[SILENT]" in result
|
||||
|
||||
def test_hint_present_when_legacy_prompt_is_null(self):
|
||||
job = {"id": "abc123deadbe", "name": None, "prompt": None}
|
||||
result = _build_job_prompt(job)
|
||||
assert "[SILENT]" in result
|
||||
|
||||
def test_delivery_guidance_present(self):
|
||||
"""Cron hint tells agents their final response is auto-delivered."""
|
||||
job = {"prompt": "Generate a report"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue