Skip to content

fix: add fallback AI-credit pricing to Codex smoke - #1263

Merged
davidslater merged 2 commits into
mainfrom
davidslater/codex-smoke-default-pricing
Oct 13, 2026
Merged

davidslater merged 2 commits into
mainfrom
davidslater/codex-smoke-default-pricing

Conversation

@davidslater

@davidslater davidslater commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

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, and git diff --check passed.

Failure evidence: https://github.com/github/gh-aw-threat-detection/actions/runs/38469064491/job/115543284429

Copilot AI balanced review requested due to automatic review settings October 13, 2026 22:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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.

@davidslater
davidslater merged commit 85f960e into main Oct 13, 2026
10 checks passed
@davidslater
davidslater deleted the davidslater/codex-smoke-default-pricing branch October 13, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants