From d1686eef722dfbec386f2f14abd13747701b3e4a Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Fri, 27 Dec 2024 14:53:10 -0800 Subject: [PATCH] ci/cd run again --- .../model_prices_and_context_window_backup.json | 16 ++++++++++++++++ tests/test_openai_endpoints.py | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index 5f98c0e68b..99b49502c7 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -4671,6 +4671,22 @@ "litellm_provider": "openrouter", "mode": "chat" }, + "openrouter/openai/o1": { + "max_tokens": 100000, + "max_input_tokens": 200000, + "max_output_tokens": 100000, + "input_cost_per_token": 0.000015, + "output_cost_per_token": 0.00006, + "cache_read_input_token_cost": 0.0000075, + "litellm_provider": "openrouter", + "mode": "chat", + "supports_function_calling": true, + "supports_parallel_function_calling": true, + "supports_vision": true, + "supports_prompt_caching": true, + "supports_system_messages": true, + "supports_response_schema": true + }, "openrouter/openai/o1-mini": { "max_tokens": 65536, "max_input_tokens": 128000, diff --git a/tests/test_openai_endpoints.py b/tests/test_openai_endpoints.py index 4dbeda188e..6706e4d9f7 100644 --- a/tests/test_openai_endpoints.py +++ b/tests/test_openai_endpoints.py @@ -1,5 +1,5 @@ # What this tests ? -## Tests /chat/completions by generating a key and then making a chat completions request +## Tests /chat/completions by generating a key and then making a chat completions-request import pytest import asyncio import aiohttp, openai