mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
litellm_fix(ci): add comment field to schema and add rpm/tpm to gemini-robotics model
- Add 'comment' field to model_prices JSON schema validation to allow documentation comments in model entries - Add missing rpm (10) and tpm (4000000) fields to gemini/gemini-robotics-er-1.5-preview model entry to fix test_get_model_info_gemini test failure Fixes: - test_aaamodel_prices_and_context_window_json_is_valid - test_get_model_info_gemini
This commit is contained in:
parent
14a5706131
commit
a725dab851
2 changed files with 3 additions and 0 deletions
|
|
@ -13652,7 +13652,9 @@
|
|||
"mode": "chat",
|
||||
"output_cost_per_token": 2.5e-06,
|
||||
"output_cost_per_reasoning_token": 2.5e-06,
|
||||
"rpm": 10,
|
||||
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-robotics-er-1-5-preview",
|
||||
"tpm": 4000000,
|
||||
"supported_endpoints": [
|
||||
"/v1/chat/completions",
|
||||
"/v1/completions"
|
||||
|
|
|
|||
|
|
@ -695,6 +695,7 @@ def test_aaamodel_prices_and_context_window_json_is_valid():
|
|||
"additionalProperties": False,
|
||||
},
|
||||
"citation_cost_per_token": {"type": "number"},
|
||||
"comment": {"type": "string"},
|
||||
"supported_modalities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue