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.
This commit is contained in:
teknium1
2026-09-13 20:01:51 -07:00
committed by Teknium
parent 606ea7f4ff
commit 876bdc857d
@@ -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")