Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions tests/agent_server/test_goal_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def completion(
self,
messages,
tools=None,
_return_metrics=False,
add_security_risk_prediction=False,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Critical: Functional QA shows this override no longer accepts the current TestLLM.completion positional signature in this PR's base. Calling _GatedLLM.completion(messages, None, False, True, on_token) succeeds on the base commit but raises TypeError: _GatedLLM.completion() takes from 2 to 5 positional arguments but 6 were given on this head. The existing CI pyright log reports the same mismatch: the base method still has _return_metrics in this PR context, so this change does not achieve the stated goal.

This inline finding was created by an AI agent (OpenHands) on behalf of the user.

on_token=None,
**kwargs,
Expand All @@ -53,7 +52,6 @@ def completion(
return super().completion(
messages,
tools,
_return_metrics,
add_security_risk_prediction,
on_token,
**kwargs,
Expand Down
Loading