Skip to content

sort by region#222

Merged
LordGameleo merged 3 commits intomainfrom
hganwani/gateway-1667-sort-costs-by-region
Mar 9, 2026
Merged

sort by region#222
LordGameleo merged 3 commits intomainfrom
hganwani/gateway-1667-sort-costs-by-region

Conversation

@hganwani-droid
Copy link
Collaborator

@hganwani-droid hganwani-droid commented Mar 9, 2026

Note

Medium Risk
Touches pricing data across many model configs and introduces a new CI gate; incorrect region/cost values or validator assumptions could break downstream cost calculations or fail builds.

Overview
Adds CI cost validation. The validate GitHub Action now sets up Node 20, installs dependencies, and runs a new npm run validate:costs check powered by scripts/validate-costs.ts (enforced via a new validate:costs script in package.json).

Normalizes regional pricing entries. A large set of provider YAMLs (notably AWS Bedrock and Google Vertex) updates the costs arrays to be consistently ordered by region, fixes swapped/misplaced region entries, and adds missing region-specific pricing rows for several models.

Written by Cursor Bugbot for commit 6920b86. This will update automatically on new commits. Configure here.

@LordGameleo LordGameleo merged commit 273f1dc into main Mar 9, 2026
3 checks passed
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