diff --git a/python/packages/autogen-agentchat/src/autogen_agentchat/base/_chat_agent.py b/python/packages/autogen-agentchat/src/autogen_agentchat/base/_chat_agent.py index b0723636a15..7e397e7b3e7 100644 --- a/python/packages/autogen-agentchat/src/autogen_agentchat/base/_chat_agent.py +++ b/python/packages/autogen-agentchat/src/autogen_agentchat/base/_chat_agent.py @@ -1,6 +1,6 @@ from abc import ABC from dataclasses import dataclass -from typing import Any, AsyncGenerator, Mapping, Sequence, runtime_checkable +from typing import Any, AsyncGenerator, Mapping, Sequence from autogen_core import CancellationToken @@ -20,7 +20,6 @@ class Response: or :class:`ChatMessage`.""" -@runtime_checkable class ChatAgent(TaskRunner, ABC): """Protocol for a chat agent."""