mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Python: Add sample to show handoff as agent with HITL (#2534)
* Add sample to show handoff as agent with HITL * Update uv.lock with latest pkg versions. Fix lint error. * Upgrade grpcio to 1.76.0 * Handle grpcio versions * Case insensitive compare for declarative
This commit is contained in:
committed by
GitHub
Unverified
parent
8ae33d3c2b
commit
e3b700ad9f
@@ -149,9 +149,9 @@ class WorkflowGraphValidator:
|
||||
# check only when there is at least one edge group defined.
|
||||
if self._edges: # Only evaluate when the workflow defines edges
|
||||
edge_executor_ids: set[str] = set()
|
||||
for _e in self._edges:
|
||||
edge_executor_ids.add(_e.source_id)
|
||||
edge_executor_ids.add(_e.target_id)
|
||||
for e in self._edges:
|
||||
edge_executor_ids.add(e.source_id)
|
||||
edge_executor_ids.add(e.target_id)
|
||||
if start_executor_id not in edge_executor_ids:
|
||||
raise GraphConnectivityError(
|
||||
f"Start executor '{start_executor_id}' is not present in the workflow graph"
|
||||
|
||||
Reference in New Issue
Block a user