mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
fix(pricing): leave the reference pixel key undescribed in the generated schema
The cost map guard runs main's schema generator against the PR's files, so a description added in the same PR can never match. The key keeps its Terraform and Rust docs
This commit is contained in:
parent
9e9cc12a25
commit
c887a08939
2 changed files with 1 additions and 3 deletions
|
|
@ -222,7 +222,6 @@ COST_DESCRIPTIONS: dict[str, str] = {
|
|||
"cache_read_input_token_cost": "USD per prompt token served from the provider's prompt cache.",
|
||||
"input_cost_per_token_batches": "USD per prompt token via the provider's batch API.",
|
||||
"output_cost_per_token_batches": "USD per generated token via the provider's batch API.",
|
||||
"input_cost_per_reference_pixel": "USD per billable pixel of the reference images sent with an image edit (Azure AI FLUX.2 counts them in whole 1024x1024 megapixels).",
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -330,8 +330,7 @@
|
|||
},
|
||||
"input_cost_per_reference_pixel": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"description": "USD per billable pixel of the reference images sent with an image edit (Azure AI FLUX.2 counts them in whole 1024x1024 megapixels)."
|
||||
"minimum": 0
|
||||
},
|
||||
"input_cost_per_request": {
|
||||
"type": "number",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue