fix(subagents): change limits from hard errors to soft warnings

- Increase description warning threshold from 500 to 1,000 characters
- Change system prompt 10,000 char limit from error to warning
- Remove intermediate 5,000 char warning threshold for system prompts
- Update documentation to reflect soft warning behavior

This provides more flexibility for users while still guiding them
toward better practices.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
tanzhenxin 2026-03-15 20:56:25 +08:00
parent ed59831213
commit 1852a73a3f
4 changed files with 11 additions and 22 deletions

View file

@ -505,7 +505,7 @@ Always follow these standards:
## Limits
The following limits apply to Subagent configurations:
The following soft warnings apply to Subagent configurations (no hard limits are enforced):
- **Description Field**: Limited to 300 characters
- **System Prompt**: Limited to 10,000 characters
- **Description Field**: A warning is shown for descriptions exceeding 1,000 characters
- **System Prompt**: A warning is shown for system prompts exceeding 10,000 characters