Skip to content

improve cron deliver param description to clarify agent processing vs direct send#2121

Closed
champly wants to merge 2 commits intosipeed:mainfrom
champly:update-cron-deliver-description
Closed

improve cron deliver param description to clarify agent processing vs direct send#2121
champly wants to merge 2 commits intosipeed:mainfrom
champly:update-cron-deliver-description

Conversation

@champly
Copy link
Copy Markdown
Contributor

@champly champly commented Mar 28, 2026

Clarify the deliver parameter description in the cron tool to make the intended behavior more explicit:

  • When deliver: true: sends the message text directly to the channel as-is (only for fixed static text, no processing)
  • When deliver: false (default, strongly recommended): the agent processes the task and sends the result

This helps prevent misuse where agents set deliver: true even for tasks that require fetching data, calling APIs, searching news, or generating content.

Copilot AI review requested due to automatic review settings March 28, 2026 10:16
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 28, 2026

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Clarifies the deliver parameter semantics for the cron tool so tool callers (especially agents/LLMs) understand when a scheduled message is sent verbatim vs. processed through the agent before sending.

Changes:

  • Expanded deliver parameter description to explicitly distinguish “direct send as-is” vs. “agent processes then sends”.
  • Added stronger guidance to avoid using deliver: true for tasks that require computation/data fetching/content generation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@champly
Copy link
Copy Markdown
Contributor Author

champly commented Mar 28, 2026

@Zepan PTAL

@sipeed-bot sipeed-bot bot added type: documentation Improvements or additions to documentation domain: tool domain: cron labels Mar 28, 2026
@champly
Copy link
Copy Markdown
Contributor Author

champly commented Mar 28, 2026

@yinwm PTAL

@afjcjsbx
Copy link
Copy Markdown
Collaborator

@champly pls fix lint and tests 🙏

@champly
Copy link
Copy Markdown
Contributor Author

champly commented Mar 31, 2026

@champly pls fix lint and tests 🙏

this only modified the description here, it shouldn't affect the ut.

@champly
Copy link
Copy Markdown
Contributor Author

champly commented Mar 31, 2026

The deliver parameter has been removed, so I'll close this for now.

@champly champly closed this Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: cron domain: tool type: documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants