Skip to content

0.1.3 代码运行出错 #179

@phycool

Description

@phycool

Hi,这个代码不对吧,不应该有 '_TOOL_CALL_TYPES' 这个内部函数

Traceback (most recent call last):
File "D:\ProgramData\miniconda3\envs\AI_Agent\youtu-agent-main\examples\svg_generator\main_web.py", line 4, in
from utu.ui.webui_agents import WebUIAgents
File "D:\ProgramData\miniconda3\envs\AI_Agent\youtu-agent-main\utu_init_.py", line 5, in
from .patch.runner import UTUAgentRunner
File "D:\ProgramData\miniconda3\envs\AI_Agent\youtu-agent-main\utu\patch\runner.py", line 25, in
from agents.run import _TOOL_CALL_TYPES, AgentRunner, AgentToolUseTracker, RunResultStreaming, SingleStepResult
ImportError: cannot import name '_TOOL_CALL_TYPES' from 'agents.run' (D:\ProgramData\miniconda3\envs\AI_Agent\youtu-agent-main.venv\Lib\site-packages\agents\run.py)

谢谢

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions