Uh oh!
There was an error while loading. Please reload this page.
fix: add default-ai-credits-pricing fallback to daily-safeoutputs-git-simulator - #48292
Conversation
Hey A few things to keep in mind as you complete this:
This looks ready for continued development. Feel free to push commits as you make progress!
|
…-simulator workflow The claude-opus-5 model lacks pricing in the AWF proxy when bootstrap fails with 401. Adding models.default-ai-credits-pricing with the correct rate ($5/1M input, $25/1M output) prevents the HTTP 400 rejection when the proxy cannot load remote pricing data. Closes#48284 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds fallback AI-credit pricing so the workflow can continue when remote pricing bootstrap fails.
Changes:
- Configures static Claude Opus 5 fallback pricing.
- Regenerates the compiled workflow configuration.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/daily-safeoutputs-git-simulator.md | Adds fallback pricing frontmatter. |
.github/workflows/daily-safeoutputs-git-simulator.lock.yml | Emits fallback pricing in AWF configuration. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 1
- Review effort level: Medium
| input: 5.0 | ||
| output: 25.0 |
🎉 This pull request is included in a new release. Release: |
When the AWF bootstrap fetch fails (401), the proxy loses its remote pricing table. If
claude-opus-5is selected as the model at that point, the proxy has no pricing entry for it and immediately rejects the request with HTTP 400 — terminating the workflow after one turn.Change
Added
models.default-ai-credits-pricingtodaily-safeoutputs-git-simulator.mdfrontmatter, matchingclaude-opus-5's actual rates frompkg/cli/data/models.json:This provides the AWF proxy a static fallback rate so it can compute AI credits cost regardless of whether bootstrap data is available.