opencode
opencode copied to clipboard
feat: Add Gemini pricing tier config option
This commit introduces a new configuration option use_standard_pricing_only
that allows users to force the use of the standard pricing tier for Gemini
models, even for large contexts. in relevance of this issue 592
- Modified
models.tsandprovider.tsto handle tiered pricing. - Added
use_standard_pricing_onlytoconfig.tsand updatedconfig.schema.json. - Added tests for the pricing tier logic in
provider.test.ts. - Updated documentation in
config.mdx.