Add support for task cancellation (#7)

* Add support for task cancellation

* add tests to CI

* matrix for python testing
This commit is contained in:
Jack Gerrits
2024-05-20 13:32:08 -06:00
committed by GitHub
parent f80c42e668
commit 5afbadbe43
13 changed files with 265 additions and 64 deletions

View File

@@ -5,11 +5,10 @@ from agnext.agent_components.type_routed_agent import TypeRoutedAgent, message_h
from agnext.application_components.single_threaded_agent_runtime import SingleThreadedAgentRuntime
from agnext.core.agent import Agent
from agnext.core.agent_runtime import AgentRuntime
from agnext.core.message import Message
@dataclass
class MessageType(Message):
class MessageType:
body: str
sender: str