SIGN IN SIGN UP

fix(delegate-task): make description optional with auto-generation from prompt (#3162)

When weaker models (GLM-5, MiniMax) omit the description parameter on
delegate_task, the tool now auto-generates it from the first 4 words of
the prompt instead of throwing an error.

Changes:
- Schema: description is now optional (tool.schema.string().optional())
- Runtime: auto-generates from prompt when missing/empty/whitespace
- DelegateTaskArgs.description type stays as string (guaranteed by auto-gen)
- Tests: 3 new cases - missing/empty/explicit description handling
- Metadata title set after description resolution (correct ordering)
Y
YeonGyu-Kim committed
bd37e6676ac69aa47d95bbda84e3177527eb96d4
Parent: 3e8fd5f