Skip to content

Commit f3577e4

Browse files
OhYeeclaude
andcommitted
fix(agentscope): use correct to_agentscope() instead of to_crewai() in toolset()
The toolset() function in agentscope integration was incorrectly calling .to_crewai() instead of .to_agentscope(), returning CrewAI-formatted tools instead of AgentScope-formatted ones. Change-Id: I41758ca6e22173cfc4cc47fa95713c8fb5d992a7 Co-developed-by: Claude <noreply@anthropic.com> Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1d658fb commit f3577e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agentrun/integration/agentscope/builtin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def toolset(
4343
"""将内置工具集封装为 LangChain ``StructuredTool`` 列表。 / AgentScope Built-in Integration Functions"""
4444

4545
ts = _toolset(input=name, config=config)
46-
return ts.to_crewai(
46+
return ts.to_agentscope(
4747
prefix=prefix,
4848
modify_tool_name=modify_tool_name,
4949
filter_tools_by_name=filter_tools_by_name,

0 commit comments

Comments
 (0)