Skip to content

feat: Support disabling tool reminder#4221

Open
antonpibm wants to merge 1 commit intocrewAIInc:mainfrom
antonpibm:disable_tool_reminder
Open

feat: Support disabling tool reminder#4221
antonpibm wants to merge 1 commit intocrewAIInc:mainfrom
antonpibm:disable_tool_reminder

Conversation

@antonpibm
Copy link
Copy Markdown

@antonpibm antonpibm commented Jan 11, 2026

Currently a tool reminder message is appended to tool response on every third tool call.
For a large number of tools, this behavior might flood the agent's context and cause it to underperform.

While I understand the reason to have the reminder, the developer should be able to disable them in situations where they are not needed, e.g. short tool responses and thoughts or short context window.
At this moment there is no way to disable this behavior.

This PR adds support for spacing or disabling the reminders by defining the reminder rate at the task.


Note

Introduces configurable tool reminder cadence and ability to disable it.

  • Adds tool_reminder_after_usage to Task to control how often the tools reminder is appended; set to 0 to disable
  • ToolUsage reads this setting to initialize _remember_format_after_usages, preserving defaults (3; or 4 for larger OpenAI models when unset)
  • Reminder check updated to honor 0 (no reminders) and only trigger on the configured interval

Written by Cursor Bugbot for commit 725e433. This will update automatically on new commits. Configure here.

@github-actions
Copy link
Copy Markdown
Contributor

This PR is stale because it has been open for 45 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant