Skip to content

fix: add explicit types to cron schedule schema for Moonshot#389

Open
caoyacheng wants to merge 2 commits into
OpenBMB:mainfrom
caoyacheng:fix/moonshot-cron-schema
Open

fix: add explicit types to cron schedule schema for Moonshot#389
caoyacheng wants to merge 2 commits into
OpenBMB:mainfrom
caoyacheng:fix/moonshot-cron-schema

Conversation

@caoyacheng

Copy link
Copy Markdown

Summary

  • Moonshot/Kimi validates tool JSON Schema more strictly and rejects enum/const without type.
  • Add explicit type: "string" to cron schedule schema fields so Kimi can call cron_create.

Test plan

  • Use a Moonshot/Kimi model and create a cron/delay task via agent tools
  • Confirm the previous schema error no longer appears

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.

1 participant