From ac04e5f1e6f74354851b10174b8c775a98344523 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 12 Nov 2024 20:22:08 -0800 Subject: [PATCH] (build) update db helm hook --- deploy/charts/litellm-helm/templates/migrations-job.yaml | 1 + litellm/model_prices_and_context_window_backup.json | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/deploy/charts/litellm-helm/templates/migrations-job.yaml b/deploy/charts/litellm-helm/templates/migrations-job.yaml index c7eb9d302..c0391f6fd 100644 --- a/deploy/charts/litellm-helm/templates/migrations-job.yaml +++ b/deploy/charts/litellm-helm/templates/migrations-job.yaml @@ -7,6 +7,7 @@ metadata: annotations: argocd.argoproj.io/hook: PreSync argocd.argoproj.io/hook-delete-policy: HookSucceeded + checksum/config: {{ include (print $.Template.BasePath "/migrations-job.yaml") . | sha256sum }} spec: template: spec: diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index 48b25523e..fb8fb105c 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -26,16 +26,17 @@ "supports_prompt_caching": true }, "gpt-4o": { - "max_tokens": 4096, + "max_tokens": 16384, "max_input_tokens": 128000, - "max_output_tokens": 4096, - "input_cost_per_token": 0.000005, - "output_cost_per_token": 0.000015, + "max_output_tokens": 16384, + "input_cost_per_token": 0.0000025, + "output_cost_per_token": 0.000010, "cache_read_input_token_cost": 0.00000125, "litellm_provider": "openai", "mode": "chat", "supports_function_calling": true, "supports_parallel_function_calling": true, + "supports_response_schema": true, "supports_vision": true, "supports_prompt_caching": true },