diff options
| author | Agando <roduccomm@gmail.com> | 2026-11-02 20:51:14 +0100 |
|---|---|---|
| committer | Agando <roduccomm@gmail.com> | 2026-11-02 20:51:14 +0100 |
| commit | aeded980e3d998640db8a84ac0c8d189387467b2 (patch) | |
| tree | cfd75f83b848263918bc2af911362b7acb6b6d77 /api/debug | |
| parent | d6eee520bc26631455135d1f2229d4013721e5b9 (diff) | |
test(newos4): guard chat()'s return and tool-turn survival
The regression in 32608bc shipped because nothing exercised chat() itself.
test-chat-return.js runs 7 assertions against the real module: a tool-using
turn must not throw, must return {content, toolTurns}, the orchestrator
projection must keep the answer, a tool-free turn must return too, the lock
must be released after a failed turn, and a second turn must return its own
answer.
Green 7/7 on 8a9333b; against 32608bc it exits 1 (ReferenceError: recent).
Auto-discovered by newos4-maintain (23/23 node tests).
Diffstat (limited to 'api/debug')
0 files changed, 0 insertions, 0 deletions