Description:
When testing Scenario 2: GitHub Copilot SDK sample (Invocations), after azd ai agent run successfully started locally, executing the local invocation command azd ai agent invoke --local --protocol invocations '{"input": "What can you help me with?"}' failed. The local log showed the error: "Directory does not exist or cannot be accessed: /home". See the image below for details.


Steps to Reproduce:
mkdir github-copilot-invocations and cd github-copilot-invocations
- Run
azd ai agent init --manifest "https://github.com/microsoft-foundry/foundry-samples/blob/main/samples/python/hosted-agents/bring-your-own/invocations/github-copilot/agent.manifest.yaml" and select location northcentralus.
- Run
azd up.
- Run
azd env set GITHUB_TOKEN "<github token>".
- Run
azd ai agent run.
- From a second terminal, run
azd ai agent invoke --local --protocol invocations '{"input": "What can you help me with?"}'.
Environment:
Expected Behavior:
Local invoke can succeed.
@JeffreyCA and @rajeshkamal5050 for notification.
Description:


When testing
Scenario 2: GitHub Copilot SDK sample (Invocations), afterazd ai agent runsuccessfully started locally, executing the local invocation commandazd ai agent invoke --local --protocol invocations '{"input": "What can you help me with?"}'failed. The local log showed the error: "Directory does not exist or cannot be accessed: /home". See the image below for details.Steps to Reproduce:
mkdir github-copilot-invocationsandcd github-copilot-invocationsazd ai agent init --manifest "https://github.com/microsoft-foundry/foundry-samples/blob/main/samples/python/hosted-agents/bring-your-own/invocations/github-copilot/agent.manifest.yaml"and select locationnorthcentralus.azd up.azd env set GITHUB_TOKEN "<github token>".azd ai agent run.azd ai agent invoke --local --protocol invocations '{"input": "What can you help me with?"}'.Environment:
northcentralus.Expected Behavior:
Local invoke can succeed.
@JeffreyCA and @rajeshkamal5050 for notification.