Skip to content

Commit 8ddef08

Browse files
zhenjiao-msCopilot
andcommitted
fix: update direct-code default CPU/memory to 1 CPU / 2Gi
The previous defaults of 0.5 CPU / 1Gi often cause session_not_ready timeouts during cold start. Update all prose and JSON examples to use 1 CPU / 2Gi as the recommended default. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 254eeeb commit 8ddef08

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

plugin/skills/microsoft-foundry/foundry-agent/deploy/references/direct-code-deployment.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Global direct-code limits:
3434

3535
- Agent name: at most 63 characters, alphanumeric and hyphens only.
3636
- Multipart upload zip: at most 250 MB.
37-
- CPU/memory: use conservative defaults such as `0.5` CPU and `1Gi` when the project does not specify resources.
37+
- CPU/memory: prefer the existing agent version's resources when updating; otherwise use defaults of `1` CPU and `2Gi` when the project does not specify resources. Using `0.5` CPU / `1Gi` often causes `session_not_ready` timeouts during cold start.
3838

3939
## Task 2: Detect Runtime and Entry Point
4040

@@ -133,8 +133,8 @@ Example C#/.NET metadata:
133133
"version": "1.0.0"
134134
}
135135
],
136-
"cpu": "0.5",
137-
"memory": "1Gi",
136+
"cpu": "1",
137+
"memory": "2Gi",
138138
"environment_variables": {
139139
"AZURE_AI_MODEL_DEPLOYMENT_NAME": "<model-deployment>"
140140
},

0 commit comments

Comments
 (0)