Files
hermes-agent/agent
alt-glitch cbd7eb908b fix(plugins): llm.oneshot refuses a parsed answer holding NaN or Infinity
Python's JSON parser accepts NaN and Infinity, so with a permissive schema (`{}`) a reply such as
{"value": NaN} came back in `parsed` and the transport sent a frame the client's JSON.parse drops,
leaving the request to time out. oneshot_reply now checks the parsed value with
allow_nan=False and answers the same "not JSON" error instead. Found by Copilot on #142006.
2026-11-06 11:05:14 -05:00
..
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 19:28:23 +02:00
2026-10-20 21:04:30 -04:00
2026-10-20 21:04:30 -04:00
2026-10-21 23:05:11 -04:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:36 +02:00
…
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-20 22:18:49 -04:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 21:29:48 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 19:54:07 +02:00
2026-10-21 23:05:11 -04:00
2026-10-08 21:29:48 +02:00