类class
agentscope.exceptionToolInterruptedError
class ToolInterruptedError(AgentOrientedException)
源码Source
agentscope/exception/_tool.py:11–12工具 Interrupted 错误,为框架提供通用类型与基础能力。位于 agentscope.exception 包,继承自 AgentOrientedException。
Exception raised when a tool calling was interrupted by the user. Declared in agentscope.exception. Extends AgentOrientedException.