mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
fix(lint): explicit encoding on probe-file open in UE harness (PLW1514 + windows-footguns)
This commit is contained in:
parent
bc36ff7083
commit
72324eacbe
1 changed files with 2 additions and 1 deletions
|
|
@ -54,7 +54,8 @@ def _mock_result(tool_name: str) -> str:
|
|||
|
||||
|
||||
def load_epic_tools(scale: str) -> List[Dict[str, Any]]:
|
||||
raw = json.load(open(PROBE))
|
||||
with open(PROBE, encoding="utf-8") as f:
|
||||
raw = json.load(f)
|
||||
out = []
|
||||
for ts_name, ts in raw["toolsets"].items():
|
||||
if not isinstance(ts, dict) or not ts.get("tools"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue