You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: apply tiered pricing for Gemini models via Vertex AI (#8018)
* fix: apply tiered pricing for Gemini models via Vertex AI
- Modified calculateCost method to handle models where cacheReadsPrice is only defined in tiers
- Added comprehensive tests for Vertex AI tiered pricing calculation
- Fixes issue where local cost calculation always showed highest tier rates
Fixes#8017
* Delete src/api/providers/__tests__/vertex-tiered-pricing.spec.ts
---------
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Daniel <[email protected]>
0 commit comments