Recommended action: Use azd ai agent run, or set ASPNETCORE_ENVIRONMENT=Production before dotnet run; add FOUNDRY_PROJECT_ENDPOINT to .env; install Azure.AI.AgentServer.Responses/Invocations (prerelease) or add the Python protocol library to requirements.txt. Option: Run via azd
Recommended action: Treat as a transport failure: retry the request, raise proxy/ALB idle timeouts, disable response buffering; upgrade to get the explicit error (and 5.0.60 for modeled exception surfacing). Option: Retry and fix the truncating hop [evidence: official_recommended
Recommended action: Set an explicit limit on the relevant route (express.json({ limit: "5mb" })) or send large binaries via multipart/object storage instead of JSON base64; the README warns against very high limits. Option: Raise the limit on specific routes [evidence:
Recommended action: Add header Foundry-Features: AgentsOptimization=V2Preview; include system_prompt/tools/skills in optimization_config; start with builtin.task_adherence; pass --optimize-model gpt-5 or set optimization_model in eval.yaml; use exact deployment names. Option: Sen
Recommended action: Delete the named browser folder under the Puppeteer cache (~/.cache/puppeteer by default) and install again; give the install command a longer timeout or run it in the background. Option: Delete partial folder and reinstall [evidence: official_recommended_acti
Recommended action: Always log repr(err.__cause__) (and the full chain) for openai/anthropic APIConnectionError before retrying; for non-idempotent operations use azure's ServiceRequestError vs ServiceResponseError distinction (or equivalent) to decide whether the request may hav
Recommended action: Chunk uploads (e.g. multipart to R2 via presigned URLs), upload directly to object storage, use a DNS-only hostname for large uploads, or upgrade plan. Option: Bypass the body limit with direct-to-storage uploads [evidence: official_recommended_action] Applies
Recommended action: Create a new Foundry resource with the Enterprise Agent Service tier in a supported region. Option: Use Enterprise tier resource [evidence: official_recommended_action] Steps: 1. Create Foundry resource with Enterprise Agent Service tier 2. reconnect tool Expe
Recommended action: Pass both keys (plus session token for temporary creds) or neither to use the default chain; validate secrets are populated before constructing the client. Option: Provide both keys or neither [evidence: official_recommended_action] Steps: 1. Check both env va
Recommended action: Use az cognitiveservices account project connection create or the azure-mgmt-cognitiveservices Python SDK. Option: Use Cognitive Services tooling [evidence: official_recommended_action] Steps: 1. az cognitiveservices account project connection create ... 2. or
Recommended action: Stream the response (send headers/bytes early), switch to async job + status polling, or serve long endpoints from a DNS-only (grey-cloud) hostname; Enterprise can raise proxy_read_timeout. Option: Avoid long silent responses through the proxy [evidence: offic
Recommended action: Normalize timeouts in one adapter: catch (openai.APITimeoutError, anthropic.APITimeoutError, botocore.exceptions.ReadTimeoutError, azure.core.exceptions.ServiceResponseError, httpx.TimeoutException, httpx2.TimeoutException) and decide retry/stream-instead poli
Recommended action: Switch the connection to Microsoft Entra project managed identity (keyless) and grant Search Index Data Contributor and Search Service Contributor to the project MI. Option: Use keyless connection [evidence: official_recommended_action] Steps: 1. Recreate AI S
Recommended action: Use download.saveAs(localPath) (or createReadStream) instead of path(); set connect option exposeNetwork: '<loopback>' (or specific hosts) to reach client-local apps. Option: saveAs + exposeNetwork [evidence: official_recommended_action] Applies when: Any Play
Recommended action: Stream responses (SSE) so bytes flow regularly, have the backend send periodic keepalive/ping events, or raise proxy_read_timeout on the LLM location. Option: Raise the timeout or keep bytes flowing [evidence: official_recommended_action] Applies when: See tri
Recommended action: Confirm the instance exists in the same Grounding with Bing Custom Search resource the connection points to and the name is spelled exactly. Option: Fix instance name/connection [evidence: official_recommended_action] Steps: 1. Check instance list in the Bing
Recommended action: Kill the stale server (find the PID listening on the port) or set reuseExistingServer: !process.env.CI; note agents often run with CI=true which disables reuse. For 'exited early', run the webServer.command manually to see its error. Option: Free the