Skip to content

fix: correct cron example syntax to avoid LLM invalid token waste - #53

Closed
p-yf wants to merge 3 commits into
spring-ai-alibaba:mainfrom
p-yf:fix/task-cron-example-syntax-error
Closed

fix: correct cron example syntax to avoid LLM invalid token waste#53
p-yf wants to merge 3 commits into
spring-ai-alibaba:mainfrom
p-yf:fix/task-cron-example-syntax-error

Conversation

@p-yf

@p-yf p-yf commented Apr 14, 2026

Copy link
Copy Markdown

将五位cron修复为6位,

@canfuu
canfuu enabled auto-merge April 22, 2026 12:56

@canfuu canfuu left a comment

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.

LGTM

AQing-527 added a commit that referenced this pull request Jun 2, 2026
- fix: 增加 List<CodeactTool> 自动装配,支持纯 CodeactTool 实现的自动发现 (#14)
- fix: 修复 SubscribeTriggerCodeactTool cron 示例从5位改为6位,匹配 Spring CronTrigger 格式 (#53)
- feat: Skill 导入支持冲突策略(覆盖/跳过/重命名)
- feat: Skill 导入返回 SkillPackageImportResult 支持逐文件结果
- feat: SkillExchangeService 支持按 skillGroupId 查询
- feat: 经验控制台前端增加 skillGroupId 编辑和 skill 名称链接
- fix: BaseReplyCodeactTool ReplyResult 设置 repliedToUser 信息
- chore: 版本更新至 0.2.7

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
AQing-527 added a commit that referenced this pull request Jun 2, 2026
- fix: SubscribeTriggerCodeactTool cron 示例从5位改为6位,匹配 Spring CronTrigger 格式 (#53)
- fix: BaseReplyCodeactTool 新增 channel 等上下文字段注入到 extensions
- feat: Skill 导入支持冲突策略(覆盖/跳过/重命名)
- feat: Skill 导入返回 SkillPackageImportResult 支持逐文件结果
- feat: SkillExchangeService 支持按 skillGroupId 查询
- feat: 经验控制台前端增加 skillGroupId 编辑和 skill 名称链接
- test: 新增 BaseReplyCodeactToolTest

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
AQing-527 added a commit that referenced this pull request Jun 2, 2026
- fix: SubscribeTriggerCodeactTool cron 示例从5位改为6位,匹配 Spring CronTrigger 格式 (#53)
- fix: BaseReplyCodeactTool 新增 channel 等上下文字段注入到 extensions
- feat: Skill 导入支持冲突策略(覆盖/跳过/重命名)
- feat: Skill 导入返回 SkillPackageImportResult 支持逐文件结果
- feat: SkillExchangeService 支持按 skillGroupId 查询
- feat: 经验控制台前端增加 skillGroupId 编辑和 skill 名称链接
- test: 新增 BaseReplyCodeactToolTest

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@AQing-527

Copy link
Copy Markdown
Collaborator

This fix has been included in PR #62 (merged into feature/add_more_context_during_execution). The cron examples and descriptions now use the 6-field format (秒 分 时 日 月 周) matching Spring's CronTrigger expectations. Closing this PR as resolved. Thanks for the contribution!

@AQing-527 AQing-527 closed this Jun 2, 2026
auto-merge was automatically disabled June 2, 2026 07:55

Pull request was closed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants