docs: remove max-ai-credits: 5M examples from reference docs#39128
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
max-ai-credits: 5M examples from reference docs
|
Hey One thing worth checking before marking this ready:
If you would like a hand verifying the doc changes and clarifying the lock file updates, you can assign this prompt to your coding agent:
|
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Updated the docs examples to use |
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Updates documentation examples for max-ai-credits to use a smaller numeric value and refreshes generated workflow lock content.
Changes:
- Replace
max-ai-creditsexample values (e.g.,5M/100M) with500across reference docs - Update
GH_AW_SAFE_OUTPUT_MESSAGES“runSuccess” message indicator in the generated workflow lock file
Show a summary per file
| File | Description |
|---|---|
| docs/src/content/docs/reference/glossary.md | Updates max-ai-credits example value in glossary entry |
| docs/src/content/docs/reference/frontmatter.md | Simplifies and updates max-ai-credits example value |
| docs/src/content/docs/reference/cost-management.md | Updates max-ai-credits example value in cost management docs |
| .github/workflows/test-quality-sentinel.lock.yml | Regenerates lock metadata and tweaks safe-output success message |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 4/4 changed files
- Comments generated: 3
| @@ -526,7 +526,7 @@ A short human-friendly name (such as `sonnet` or `mini`) that gh-aw resolves to | |||
| A top-level frontmatter field that caps the total AI Credits (AIC) the AWF proxy will spend within a single workflow run. Applies to all engines and maps to `apiProxy.maxAiCredits` in the compiled lock file. Defaults to `1000` when omitted. Accepts an integer, an optional `K`/`M` suffix string (for example, `100M`), or a GitHub Actions expression that resolves to an integer at runtime. Example: | |||
|
|
|||
| @@ -234,12 +234,7 @@ Environment variables can be defined at multiple scopes (workflow, job, step, en | |||
| Sets the AWF AI Credits budget used for cost enforcement. It is enabled by default and defaults to `1000` (`1k`) when omitted. Steering (budget-warning messages at 80%, 90%, 95%, and 99% of the budget) is enabled by default. Use plain integers or `K`/`M` suffixes such as `100000K` or `100M`. Set to a negative value to disable both budget enforcement and steering. | |||
|
|
|||
| @@ -262,7 +262,7 @@ cost guardrail across all supported engines. The field accepts | |||
| plain integers or `K`/`M` suffixes such as `100M`. | |||
|
|
|||
max-ai-credits: 5Mappeared in multiple docs examples and created confusing guidance. This update removes that value from reference documentation and replaces it with a consistent example value.What changed
docs/src/content/docs/reference/glossary.mddocs/src/content/docs/reference/frontmatter.mddocs/src/content/docs/reference/cost-management.mdExample updates
max-ai-credits: 5Mwith:max-ai-credits: 500frontmatter.mdso the examples remain clear and non-duplicativemax-ai-credits: 500