Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions python/packages/core/agent_framework/_workflows/_edge.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from dataclasses import dataclass, field
from typing import Any, ClassVar, TypeAlias, TypeVar

from .._agents import SupportsAgentRun
from ._const import INTERNAL_SOURCE_ID
from ._executor import Executor
from ._model_utils import DictConvertible, encode_value
Expand Down Expand Up @@ -264,7 +265,7 @@ def __init__(self) -> None:
"""

condition: Callable[[Any], bool]
target: Executor | str
target: Executor | SupportsAgentRun


@dataclass
Expand All @@ -287,7 +288,7 @@ def __init__(self) -> None:
assert fallback.target.id == "dead_letter"
"""

target: Executor | str
target: Executor | SupportsAgentRun


@dataclass(init=False)
Expand Down