This repository has been archived on 2026-11-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
radiance-sycl/core/text
fl0l0u f4981154fc text: the tool-call arguments probe parses under bounds
bad_arguments names the offending tool_calls[].function.arguments when a
refused conversation reaches it -- and it probed each string with the
plain Json::parse. The HTTP edge depth-caps these strings (its comment
is explicit that the strings could otherwise overflow a worker's stack),
but nothing capped the VALUE COUNT: a client whose conversation had
already failed the template -- exactly the path this refusal exists on
-- could hand the probe a few million flat values, and the probe grew a
DOM no one would ever read, once per request, inside the body's 512 MiB.
Offline callers (fleet, diagnose) reach the same path with no edge at
all.

The probe is parse_bounded now, at the same depth the edge enforces and
a values budget a tool call cannot approach; over, too deep, and not
JSON each name themselves in the refusal, and the honest case still
refuses in the template's own words. chat_test pins all three bounds.

Found by the 2.1.0 review pass (axis: hostile sockets).
2026-11-15 22:02:27 +00:00
..
2026-11-15 16:00:05 +01:00
2026-11-15 16:00:05 +01:00
2026-11-15 16:00:05 +01:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-20 21:05:16 +02:00
2026-10-20 21:05:16 +02:00
2026-10-20 21:05:16 +02:00
2026-11-14 22:32:28 +01:00
2026-10-16 18:25:18 +02:00
2026-11-14 22:32:28 +01:00
2026-10-04 12:02:41 +02:00
2026-10-16 18:25:18 +02:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-04 12:02:41 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00