Skip to content

Fix AG-UI local Azure CLI credential startup timeout - #124

Open
Jiahui-Gu wants to merge 1 commit into
mainfrom
copilot/fix-ag-ui-cli-timeout-0edf8874
Open

Fix AG-UI local Azure CLI credential startup timeout#124
Jiahui-Gu wants to merge 1 commit into
mainfrom
copilot/fix-ag-ui-cli-timeout-0edf8874

Conversation

@Jiahui-Gu

Copy link
Copy Markdown
Owner

The AG-UI invocations sample uses DefaultAzureCredential for local and hosted authentication. On a cold local start, Azure CLI token acquisition can exceed Azure Identity's default 10-second subprocess timeout, causing the documented local invocation to emit RUN_ERROR. Increase the developer credential subprocess timeout to 30 seconds; hosted managed identity behavior is unchanged.

Verified locally with the documented azd run path and an AG-UI SSE invocation that completed RUN_STARTED, streamed text events, and finished with RUN_FINISHED.

Increase the developer credential subprocess timeout so the first local AG-UI invocation can authenticate reliably on slower CLI startups.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant