From 68926c652487cd60d3da3614260a7badfe73f872 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Wed, 7 Feb 2024 15:42:37 -0800 Subject: [PATCH] (fix) model_prices_and_context_window.json error --- litellm/model_prices_and_context_window_backup.json | 9 +++++++++ litellm/tests/test_completion.py | 2 +- model_prices_and_context_window.json | 9 --------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index 4c28bdbe8b3..67688f2dfbc 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -8,6 +8,15 @@ "litellm_provider": "openai", "mode": "chat" }, + "gpt-4-turbo-preview": { + "max_tokens": 8192, + "max_input_tokens": 8192, + "max_output_tokens": 4096, + "input_cost_per_token": 0.00001, + "output_cost_per_token": 0.00003, + "litellm_provider": "openai", + "mode": "chat" + }, "gpt-4-0314": { "max_tokens": 8192, "max_input_tokens": 8192, diff --git a/litellm/tests/test_completion.py b/litellm/tests/test_completion.py index 80a4372a572..6eac2ebf5f8 100644 --- a/litellm/tests/test_completion.py +++ b/litellm/tests/test_completion.py @@ -1743,7 +1743,7 @@ def test_azure_cloudflare_api(): def test_completion_anyscale_2(): try: - # litellm.set_verbose=True + # litellm.set_verbose= True messages = [ {"role": "system", "content": "You're a good bot"}, { diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 6bedaa3017e..67688f2dfbc 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -8,15 +8,6 @@ "litellm_provider": "openai", "mode": "chat" }, - "gpt-4-turbo-preview": { - "max_tokens": 128000, - "max_input_tokens": 128000, - "max_output_tokens": 4096, - "input_cost_per_token": 0.00001, - "output_cost_per_token": 0.00003, - "litellm_provider": "openai", - "mode": "chat" - }, "gpt-4-turbo-preview": { "max_tokens": 8192, "max_input_tokens": 8192,