Repository navigation
fix: add fallback AI-credit pricing to Codex smoke - #1263
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The fallback is correctly documented and propagated to both generated proxy configurations.
0 open findings
What changed in this PR
Adds fallback AI-credit pricing so unknown Codex models can run under AWF budget enforcement.
Changes:
- Configures estimated $3 input and $15 output rates per million tokens.
- Regenerates the lock file, propagating pricing to agent and detection proxies.
| File | Description |
|---|---|
.github/workflows/smoke-codex-standalone.md |
Defines fallback pricing. |
.github/workflows/smoke-codex-standalone.lock.yml |
Applies fallback pricing to both AWF configurations. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This was referenced Oct 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Codex smoke failed before executing its checks because AWF had no AI-credit pricing for the selected gpt-6.1-sol model. Configure fallback pricing of $5 per million input tokens and $20 per million output tokens, and regenerate the lock with gh-aw v0.91.10.
These rates are estimates for budget accounting when a model is absent from the catalog, not verified prices for gpt-6.1-sol. Catalog pricing still applies to known models. The compiler propagates the fallback to both the agent and detection proxy configurations.
Validation: workflow compilation,
make fmt lint build test, andgit diff --checkpassed.Failure evidence: https://github.com/github/gh-aw-threat-detection/actions/runs/38469064491/job/115543284429