feat: Workflow Composition (Sub-Workflows) via type: workflow#87
feat: Workflow Composition (Sub-Workflows) via type: workflow#87
type: workflow#87Conversation
Implement workflow composition allowing agents to reference external workflow YAML files as sub-workflows. Key changes: - Schema: Add 'workflow' to AgentDef type literal, add 'workflow' field for sub-workflow path, add model validation for workflow type - Engine: Add _execute_subworkflow method with depth limit enforcement, circular reference detection, and provider inheritance - Validator: Reject workflow agents in parallel groups and for-each groups - Tests: Add schema validation tests and engine integration tests - Docs: Update workflow-syntax.md and schema references Agent-Logs-Url: https://github.com/microsoft/conductor/sessions/7dfbaf29-06cd-448f-89f1-f0289a3466a8 Co-authored-by: jrob5756 <7672803+jrob5756@users.noreply.github.com>
…nested conditionals Agent-Logs-Url: https://github.com/microsoft/conductor/sessions/7dfbaf29-06cd-448f-89f1-f0289a3466a8 Co-authored-by: jrob5756 <7672803+jrob5756@users.noreply.github.com>
type: workflow
|
@copilot resolve the merge conflicts on this PR |
Merge origin/main into copilot/feature-workflow-composition. Resolve conflict in src/conductor/config/schema.py: - Keep retry validation for script agents (from main) - Keep workflow type validator (from this branch) - Add retry validation for workflow agents (new) - Add test for retry on workflow agents Co-authored-by: jrob5756 <7672803+jrob5756@users.noreply.github.com>
Merge conflicts resolved in commit Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot lint step failed |
Agent-Logs-Url: https://github.com/microsoft/conductor/sessions/40ecbd83-ea70-49b5-be97-777b1f3dc0a3 Co-authored-by: jrob5756 <7672803+jrob5756@users.noreply.github.com>
Fixed in |
|
@copilot still has lint errors |
Agent-Logs-Url: https://github.com/microsoft/conductor/sessions/1383ea32-4ed2-4e91-bfed-b3a4b94d2ed8 Co-authored-by: jrob5756 <7672803+jrob5756@users.noreply.github.com>
Fixed in |
type: workflowtoAgentDef, addworkflowfield, depth limit constantworkflowtype (requireworkflow, forbid irrelevant fields includingretry)_execute_subworkflowwith depth limit and circular reference detectionsub_pathvariables in test_subworkflow.pyruff formatto 3 files (workflow.py, test_workflow_type_schema.py, test_subworkflow.py)