mirror of
https://github.com/davidkaya/aryx.git
synced 2026-07-25 22:18:40 +02:00
CopilotAgentBundle.CreateAsync unconditionally resolved the Copilot CLI path and started a CopilotClient, even for workflows with no agent nodes (e.g. request-port-only workflows). This caused a hard failure in CI where the copilot binary is not on PATH. Move CLI path resolution, client creation, and agent setup inside a guard that checks whether the workflow actually contains agent nodes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>