-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问我自定义的本地工具报这个错误咋回事 for field_name, field_info in cls.model_fields.items(): AttributeError: type object 'BihaiAddTimeIn' has no attribute 'model_fields' #318
Comments
以这个演示demo参考为例,需要稍微改改,避免无法运行。,https://ernie-bot-agent.readthedocs.io/zh-cn/latest/cookbooks/agent/local_tool/#12 |
添加环境环境变量from future import annotations os.environ["EB_AGENT_ACCESS_TOKEN"] = "" class AddWordInput(ToolParameterView): class AddWordOutput(ToolParameterView): class AddWordTool(Tool):
async def main(): |
倒未发现报错~ |
这个可能要辛苦 @wj-Mcat 看看 |
No description provided.
The text was updated successfully, but these errors were encountered: