Skip to content

[fix bug] chapter7 my_simple_agent.py 补充import类#409

Open
ciaoyizhen wants to merge 2 commits intodatawhalechina:mainfrom
ciaoyizhen:main
Open

[fix bug] chapter7 my_simple_agent.py 补充import类#409
ciaoyizhen wants to merge 2 commits intodatawhalechina:mainfrom
ciaoyizhen:main

Conversation

@ciaoyizhen
Copy link
Copy Markdown

这里有一个bug
就是ToolRegistry没导入
下面 tool_registry: Optional['ToolRegistry'] = None,

但这个代码不执行的,其实无所谓,但是vscode 会提示 看着有点难受

@ciaoyizhen ciaoyizhen changed the title [fix] chapter7 my_simple_agent.py 补充import类 [fix bug] chapter7 my_simple_agent.py 补充import类 Mar 14, 2026
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