mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Python: Move workflow-samples and agent-samples under declarative-agents directory (#5011)
* Move workflow-samples and agent-samples under declarative-agents and update all references Agent-Logs-Url: https://github.com/microsoft/agent-framework/sessions/f70f7d19-9256-4eec-b7db-28007d74440c Co-authored-by: sphenry <6749825+sphenry@users.noreply.github.com> * Fix relative paths in README files inside moved directories Agent-Logs-Url: https://github.com/microsoft/agent-framework/sessions/f70f7d19-9256-4eec-b7db-28007d74440c Co-authored-by: sphenry <6749825+sphenry@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: sphenry <6749825+sphenry@users.noreply.github.com> Co-authored-by: Shawn Henry <shahen@microsoft.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
7e8e9e3074
commit
fd253c0b0e
@@ -243,9 +243,9 @@ async def main() -> None:
|
||||
|
||||
# Load workflow from YAML
|
||||
samples_root = Path(__file__).parent.parent.parent.parent.parent.parent.parent
|
||||
workflow_path = samples_root / "workflow-samples" / "CustomerSupport.yaml"
|
||||
workflow_path = samples_root / "declarative-agents" / "workflow-samples" / "CustomerSupport.yaml"
|
||||
if not workflow_path.exists():
|
||||
# Fall back to local copy if workflow-samples doesn't exist
|
||||
# Fall back to local copy if declarative-agents/workflow-samples doesn't exist
|
||||
workflow_path = Path(__file__).parent / "workflow.yaml"
|
||||
|
||||
workflow = factory.create_workflow_from_yaml_path(workflow_path)
|
||||
|
||||
@@ -190,9 +190,9 @@ async def main() -> None:
|
||||
|
||||
# Load workflow from YAML
|
||||
samples_root = Path(__file__).parent.parent.parent.parent.parent.parent
|
||||
workflow_path = samples_root / "workflow-samples" / "DeepResearch.yaml"
|
||||
workflow_path = samples_root / "declarative-agents" / "workflow-samples" / "DeepResearch.yaml"
|
||||
if not workflow_path.exists():
|
||||
# Fall back to local copy if workflow-samples doesn't exist
|
||||
# Fall back to local copy if declarative-agents/workflow-samples doesn't exist
|
||||
workflow_path = Path(__file__).parent / "workflow.yaml"
|
||||
|
||||
workflow = factory.create_workflow_from_yaml_path(workflow_path)
|
||||
|
||||
Reference in New Issue
Block a user