Skip to content

The agent that grows with you

test: accept keyword args in the prompt-submit fallback stub

Brooklyn Nicholson70f9560b2905
diff --git a/tests/test_tui_gateway_server.py b/tests/test_tui_gateway_server.py
index 75a2163adfd..2f15a65015c 100644
--- a/tests/test_tui_gateway_server.py
+++ b/tests/test_tui_gateway_server.py
@@ -377,7 +377,7 @@ def test_prompt_submit_fails_open_inline_when_compute_host_dispatch_breaks(monke
monkeypatch.setattr(
server,
"_run_prompt_submit",
- lambda rid, sid, _session, text: inline_calls.append((rid, sid, text)),
+ lambda rid, sid, _session, text, **_kwargs: inline_calls.append((rid, sid, text)),
)
monkeypatch.setattr(server.threading, "Thread", _ImmediateThread)