mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-02 02:01:47 +00:00
fix(ci): stabilize main test suite regressions (#17660)
* fix: stabilize main test suite regressions * test(agent): update MiniMax normalization expectation * test: stabilize remaining CI assertions * test: harden config helper monkeypatching * test: harden CI-only assertions * fix(agent): propagate fast streaming interrupts
This commit is contained in:
parent
e7beaaf184
commit
f73364b1c4
37 changed files with 450 additions and 127 deletions
|
|
@ -489,12 +489,15 @@ def read_file_tool(path: str, offset: int = 1, limit: int = 500, task_id: str =
|
|||
task_data = _read_tracker.setdefault(task_id, {
|
||||
"last_key": None, "consecutive": 0,
|
||||
"read_history": set(), "dedup": {},
|
||||
"dedup_hits": {},
|
||||
"dedup_hits": {}, "read_timestamps": {},
|
||||
})
|
||||
# Backward-compat for pre-existing tracker entries that predate
|
||||
# dedup_hits (long-lived task or crossed an upgrade boundary).
|
||||
# dedup_hits/read_timestamps (long-lived task or crossed an
|
||||
# upgrade boundary).
|
||||
if "dedup_hits" not in task_data:
|
||||
task_data["dedup_hits"] = {}
|
||||
if "read_timestamps" not in task_data:
|
||||
task_data["read_timestamps"] = {}
|
||||
cached_mtime = task_data.get("dedup", {}).get(dedup_key)
|
||||
|
||||
if cached_mtime is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue