Skip to content

Commit 779c82b

Browse files
Copilotpelikhan
andauthored
fix: correct max-ai-credits enforcement description in step 26 (#1752)
* Initial plan * fix: correct max-ai-credits enforcement description in step 26 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent bb2bf44 commit 779c82b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

workshop/26-manage-costs-and-budgets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ A few techniques keep spend in check:
7777
Three frontmatter fields enforce hard limits directly in the workflow file:
7878

7979
- **[`timeout-minutes`](https://github.github.com/gh-aw/reference/rate-limiting-controls/#timeouts)** cancels the entire Actions job if it exceeds the limit. The run fails and you are billed only for tokens consumed before cancellation.
80-
- **[`max-ai-credits`](https://github.github.com/gh-aw/reference/cost-management/#cap-ai-credits-per-run)** caps the AIC a single run may consume at the model API level. The default when omitted is 1000 AIC. Set to `-1` to disable enforcement.
80+
- **[`max-ai-credits`](https://github.github.com/gh-aw/reference/cost-management/#cap-ai-credits-per-run)** caps the AIC a single run may consume, enforced by the AWF firewall. The default when omitted is 1000 AIC. Set to a negative value (e.g. `-1`) to disable enforcement and token steering.
8181
- **[`max-daily-ai-credits`](https://github.github.com/gh-aw/reference/cost-management/#cap-daily-ai-credits-per-workflow)** caps the total AIC consumed by this workflow across the last 24 hours for the triggering user. Runs that would exceed the cap are blocked before they start. A system default threshold applies when this field is omitted; set to `-1` to disable the guardrail, or provide an explicit integer value to override the default.
8282

8383
```yaml

0 commit comments

Comments
 (0)