Skip to content
Merged

ope #1199

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: 1 addition & 1 deletion examples/slackbot/src/slackbot/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def validate_log_level(cls, v: str) -> str:

# Tool use limits
max_tool_calls_per_turn: int = Field(
default=5,
default=50,
Copy link

Copilot AI Aug 13, 2025

Choose a reason for hiding this comment

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

Increasing the default tool call limit from 5 to 50 (a 10x increase) may lead to performance issues or runaway behavior. Consider if this dramatic increase is necessary, or if a more conservative increment would be safer.

Suggested change
default=50,
default=10,

Copilot uses AI. Check for mistakes.
description="Maximum number of tool calls allowed per agent turn to prevent runaway tool use",
)

Expand Down