Skip to content

docs: fix missing ** operator for argument unpacking in tool call examples#105

Open
nathannewyen wants to merge 1 commit intoMoonshotAI:mainfrom
nathannewyen:fix/tool-call-argument-unpacking
Open

docs: fix missing ** operator for argument unpacking in tool call examples#105
nathannewyen wants to merge 1 commit intoMoonshotAI:mainfrom
nathannewyen:fix/tool-call-argument-unpacking

Conversation

@nathannewyen
Copy link

The tool call examples in tool_call_guidance.md use tool_function(tool_call_arguments) which passes a dictionary directly to functions expecting keyword arguments.

This should be tool_function(**tool_call_arguments) to properly unpack the dictionary, matching the correct implementation shown in README.md.

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