Move intervention objects to root module (#4859)

* Move intervention to root

* usage
This commit is contained in:
Jack Gerrits
2024-12-30 16:09:37 -05:00
committed by GitHub
parent 0569689e6b
commit c58eb9d120
8 changed files with 241 additions and 215 deletions

View File

@@ -33,6 +33,7 @@ from typing import Any, Mapping, Optional
from autogen_core import (
AgentId,
CancellationToken,
DefaultInterventionHandler,
DefaultTopicId,
FunctionCall,
MessageContext,
@@ -41,7 +42,6 @@ from autogen_core import (
message_handler,
type_subscription,
)
from autogen_core.base.intervention import DefaultInterventionHandler
from autogen_core.model_context import BufferedChatCompletionContext
from autogen_core.models import (
AssistantMessage,