mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Python: added AIAnnotation types and extra tests (#374)
* added AIAnnotation types and extra tests * fixed typing and such * use copy * fix raw representation for add * handle annotations in add * clarified concat * self to first
This commit is contained in:
committed by
GitHub
Unverified
parent
8f27e63df6
commit
82d39bc1f7
@@ -19,7 +19,7 @@ from ._events import (
|
||||
from ._typing_utils import is_instance_of
|
||||
from ._workflow_context import WorkflowContext
|
||||
|
||||
# region: Executor
|
||||
# region Executor
|
||||
|
||||
|
||||
class Executor:
|
||||
@@ -96,7 +96,7 @@ class Executor:
|
||||
|
||||
# endregion: Executor
|
||||
|
||||
# region: Handler Decorator
|
||||
# region Handler Decorator
|
||||
|
||||
|
||||
ExecutorT = TypeVar("ExecutorT", bound="Executor")
|
||||
@@ -183,7 +183,7 @@ def handler(
|
||||
|
||||
# endregion: Handler Decorator
|
||||
|
||||
# region: Agent Executor
|
||||
# region Agent Executor
|
||||
|
||||
|
||||
@dataclass
|
||||
@@ -268,7 +268,7 @@ class AgentExecutor(Executor):
|
||||
# endregion: Agent Executor
|
||||
|
||||
|
||||
# region: Request Info Executor
|
||||
# region Request Info Executor
|
||||
|
||||
|
||||
@dataclass
|
||||
|
||||
Reference in New Issue
Block a user