mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 20:50:34 +00:00
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:
parent
ed59831213
commit
1852a73a3f
4 changed files with 11 additions and 22 deletions
|
|
@ -94,7 +94,7 @@ export function CreationSummary({
|
|||
}
|
||||
|
||||
// Check length warnings
|
||||
if (state.generatedDescription.length > 300) {
|
||||
if (state.generatedDescription.length > 1000) {
|
||||
allWarnings.push(
|
||||
t('Description is over {{length}} characters', {
|
||||
length: state.generatedDescription.length.toString(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue