From 876bdc857d1884e6a7cb740ce8f51dff5f5cbbda Mon Sep 17 00:00:00 2001 From: teknium1 <127238744+teknium1@users.noreply.github.com> Date: Sun, 13 Sep 2026 20:01:51 -0700 Subject: [PATCH] test: accept the widened run_conversation kwargs in the queued-followup agent doubles main now passes persist_user_platform_id (and friends) into run_conversation; the fakes only need the message, so swallow the rest with **_kwargs instead of pinning today's signature. --- tests/gateway/test_queued_followup_processing_hooks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/gateway/test_queued_followup_processing_hooks.py b/tests/gateway/test_queued_followup_processing_hooks.py index 1356fd808b..f4c07cbbc8 100644 --- a/tests/gateway/test_queued_followup_processing_hooks.py +++ b/tests/gateway/test_queued_followup_processing_hooks.py @@ -67,7 +67,7 @@ class _TwoTurnAgent: def __init__(self, **kwargs): self.tools = [] - def run_conversation(self, message, conversation_history=None, task_id=None): + def run_conversation(self, message, conversation_history=None, task_id=None, **_kwargs): type(self).calls.append(message) return { "final_response": f"done-{len(type(self).calls)}", @@ -82,7 +82,7 @@ class _RaisingSecondTurnAgent: def __init__(self, **kwargs): self.tools = [] - def run_conversation(self, message, conversation_history=None, task_id=None): + def run_conversation(self, message, conversation_history=None, task_id=None, **_kwargs): type(self).calls.append(message) if len(type(self).calls) >= 2: raise RuntimeError("boom in the queued follow-up turn")