Skip to content

Fix s09 subagent tool argument mismatch#336

Open
clysir wants to merge 1 commit into
shareAI-lab:mainfrom
clysir:fix-s09-subagent-arg
Open

Fix s09 subagent tool argument mismatch#336
clysir wants to merge 1 commit into
shareAI-lab:mainfrom
clysir:fix-s09-subagent-arg

Conversation

@clysir
Copy link
Copy Markdown

@clysir clysir commented Jun 1, 2026

Fixes a tool argument mismatch in s09_memory/code.py.

The task tool schema defines the input field as description, and the
agent loop dispatches tool calls with handler(**block.input). However,
spawn_subagent expected a parameter named task, which causes:

TypeError: spawn_subagent() got an unexpected keyword argument 'description'

This change renames the function parameter to description so it matches the
tool schema.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 1, 2026

Someone is attempting to deploy a commit to the crazyboym's projects Team on Vercel.

A member of the Team first needs to authorize it.

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