Akshay66777's picture
AgentScope Gradio chat app — ZeroGPU-ready
9792ea7 verified
Raw
History Blame Contribute Delete
595 Bytes
# -*- coding: utf-8 -*-
"""The tool-related exceptions in agentscope."""
from ._base import AgentOrientedException
class ToolNotFoundError(AgentOrientedException):
"""Exception raised when a tool was not found."""
class ToolInterruptedError(AgentOrientedException):
"""Exception raised when a tool calling was interrupted by the user."""
class ToolJSONDecodeError(AgentOrientedException):
"""Exception raised when tool arguments fail JSON decoding or repair."""
class ToolGroupInactiveError(AgentOrientedException):
"""Exception raised when a tool group is inactive."""