mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
35c938fb5b
* Added Agent and AgentThread classes * Addressed PR feedback * Converted Agent to protocol * Removed thread deletion logic * Small update * Small updates to the Agent protocol
20 lines
382 B
Python
20 lines
382 B
Python
# Copyright (c) Microsoft. All rights reserved.
|
|
|
|
|
|
class AgentFrameworkException(Exception):
|
|
"""Base class for exceptions in the Agent Framework."""
|
|
|
|
pass
|
|
|
|
|
|
class AgentException(AgentFrameworkException):
|
|
"""Base class for all agent exceptions."""
|
|
|
|
pass
|
|
|
|
|
|
class AgentExecutionException(AgentException):
|
|
"""An error occurred while executing the agent."""
|
|
|
|
pass
|