mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 20:20:57 +00:00
feat(cron): make cron tools opt-in via experimental settings
Change cron/loop tools from opt-out to opt-in. Cron tools are now
disabled by default and can be enabled via:
- settings.json: { "experimental": { "cron": true } }
- Environment variable: QWEN_CODE_ENABLE_CRON=1
This ensures experimental features are explicitly enabled by users
who want to try them.
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
parent
99e5a9fbfd
commit
439a1a46e2
9 changed files with 75 additions and 32 deletions
|
|
@ -1445,9 +1445,15 @@
|
|||
}
|
||||
},
|
||||
"experimental": {
|
||||
"description": "Setting to enable experimental features",
|
||||
"description": "Settings to enable experimental features.",
|
||||
"type": "object",
|
||||
"properties": {}
|
||||
"properties": {
|
||||
"cron": {
|
||||
"description": "Enable in-session cron/loop tools (experimental). When enabled, the model can create recurring prompts using cron_create, cron_list, and cron_delete tools. Can also be enabled via QWEN_CODE_ENABLE_CRON=1 environment variable.",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"$version": {
|
||||
"type": "number",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue