mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
Revert "fix(scripts): encode tool_search_livetest2 output as utf-8 (Windows footgun)"
This reverts commit e286658377.
This commit is contained in:
parent
daefa8c34e
commit
a09015d31e
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ def run_one(scenario: Dict[str, Any], mode: str, rep: int, out_dir: Path) -> Dic
|
|||
"final_response": base._redact_secrets(final_response)[:500],
|
||||
}
|
||||
out_path = out_dir / f"{scenario['id']}__{'enabled' if enabled else 'disabled'}__rep{rep}.json"
|
||||
out_path.write_text(json.dumps(rec, indent=1), encoding="utf-8")
|
||||
out_path.write_text(json.dumps(rec, indent=1))
|
||||
shutil.rmtree(Path(os.environ["HERMES_HOME"]).parent, ignore_errors=True)
|
||||
return rec
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue