Skip to content

docs(zh-CN): sync ToolCallingAgent API#706

Draft
ShawnSiao wants to merge 2 commits into
huggingface:mainfrom
ShawnSiao:docs/zh-sync-smolagents-tool-calling
Draft

docs(zh-CN): sync ToolCallingAgent API#706
ShawnSiao wants to merge 2 commits into
huggingface:mainfrom
ShawnSiao:docs/zh-sync-smolagents-tool-calling

Conversation

@ShawnSiao

Copy link
Copy Markdown
Contributor

Summary

Sync the Chinese ToolCallingAgent example with the current smolagents API.

Change rationale

English source commit 9dafd44 replaces the deprecated DuckDuckGoSearchTool example with WebSearchTool.

Changes

  • Updated units/zh-CN/unit2/smolagents/tool_calling_agents.mdx.
  • Replaced DuckDuckGoSearchTool with WebSearchTool in the import and agent construction.
  • Kept Chinese prose, MDX structure, links, and code-fence count unchanged.

Verification

  • git diff --check
  • Confirmed code-fence and CourseFloatingBanner structure counts are unchanged.
  • Confirmed no open overlapping PR for this page before submission.

Related to #152.

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