Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion agentrun/integration/agentscope/builtin.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def toolset(
"""将内置工具集封装为 LangChain ``StructuredTool`` 列表。 / AgentScope Built-in Integration Functions"""

ts = _toolset(input=name, config=config)
return ts.to_crewai(
return ts.to_agentscope(
prefix=prefix,
modify_tool_name=modify_tool_name,
filter_tools_by_name=filter_tools_by_name,
Comment on lines 45 to 49
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bug fix changes the framework conversion method used by the AgentScope toolset() helper. To prevent regressions (e.g., accidentally calling to_crewai() again), please add a unit/integration test that exercises agentrun.integration.agentscope.builtin.toolset() and asserts the returned tools are AgentScope-compatible (not CrewAI/LangChain formatted).

Copilot uses AI. Check for mistakes.
Expand Down
Loading