这是indexloc提供的服务,不要输入任何密码
Skip to content

agent implemented with Qwen3-4B and deployed at local cannot execute function call #656

@Blair1213

Description

@Blair1213

Traceback (most recent call last):
File "./agent/agent.py", line 105, in
bot = Assistant(
File "./python3.10/site-packages/qwen_agent/agents/assistant.py", line 92, in init
super().init(function_list=function_list,
File "./python3.10/site-packages/qwen_agent/agents/fncall_agent.py", line 50, in init
super().init(function_list=function_list,
File "./python3.10/site-packages/qwen_agent/agent.py", line 57, in init
self.llm = get_chat_model(llm)
File "./python3.10/site-packages/qwen_agent/llm/init.py", line 80, in get_chat_model
return LLM_REGISTRYmodel_type
File "./python3.10/site-packages/qwen_agent/llm/oai.py", line 38, in init
super().init(cfg)
File "./python3.10/site-packages/qwen_agent/llm/function_calling.py", line 37, in init
raise NotImplementedError
NotImplementedError

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions