Skip to content

Make AI credits accounting resilient to unknown pricing - #65563

Closed
pelikhan with Copilot wants to merge 3 commits into
mainfrom
copilot/aw-top-10-06-make-ai-credits-accounting-resilient
Closed

pelikhan with Copilot wants to merge 3 commits into
mainfrom
copilot/aw-top-10-06-make-ai-credits-accounting-resilient

Conversation

Copilot AI commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Unknown models could stop inference when AWF had no pricing entry, and untrusted repo-memory ledgers could block the daily AIC guardrail.

  • Pricing fallback: Emit default pricing for static models while preserving configured rates and dynamic model handling.
    "defaultAiCreditsPricing": { "input": 3, "output": 15 }
  • Ledger resilience: Warn and use verified workflow-run artifact accounting instead of an untrusted repo-memory ledger. If verified accounting is unavailable, fail closed.
  • Generated workflows: Regenerate affected workflow locks to include the fallback config.

Copilot AI and others added 2 commits October 4, 2026 13:55
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Add default AI credits pricing fallback in AWF config Make AI credits accounting resilient to unknown pricing Oct 4, 2026
Copilot AI requested a review from pelikhan October 4, 2026 14:00
@pelikhan pelikhan closed this Oct 4, 2026
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.

[AW Top 10] 06 Make AI credits accounting resilient to unknown model pricin

2 participants