fix: Update max_turns config (#12604)

Pass max_turns in the run config than during the initialization.

---------

Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
This commit is contained in:
Pranav
2025-10-06 22:51:18 -07:00
committed by GitHub
parent 3a71829b46
commit 829142c808
3 changed files with 3 additions and 3 deletions

View File

@@ -90,7 +90,8 @@ RSpec.describe Captain::Assistant::AgentRunnerService do
expect(mock_runner).to receive(:run).with(
'I need help with my account',
context: expected_context
context: expected_context,
max_turns: 100
)
service.generate_response(message_history: message_history)