Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix(__init__.py): fix models_by_provider to include cohere_chat models

Krrish Dholakiacbdaecb5a83e
diff --git a/litellm/__init__.py b/litellm/__init__.py
index 1c831f0124f..6c7529477f5 100644
--- a/litellm/__init__.py
+++ b/litellm/__init__.py
@@ -702,7 +702,7 @@ provider_list: List = [
models_by_provider: dict = {
"openai": open_ai_chat_completion_models + open_ai_text_completion_models,
- "cohere": cohere_models,
+ "cohere": cohere_models + cohere_chat_models,
"cohere_chat": cohere_chat_models,
"anthropic": anthropic_models,
"replicate": replicate_models,
diff --git a/litellm/proxy/_new_secret_config.yaml b/litellm/proxy/_new_secret_config.yaml
index 49ea652970d..f224253a79e 100644
--- a/litellm/proxy/_new_secret_config.yaml
+++ b/litellm/proxy/_new_secret_config.yaml
@@ -1,14 +1,9 @@
-model_list:
- - model_name: "gpt-4"
- litellm_params:
- model: "gpt-4"
- model_info:
- my_custom_key: "my_custom_value"
+# model_list:
+# - model_name: "gpt-4"
+# litellm_params:
+# model: "gpt-4"
+# model_info:
+# my_custom_key: "my_custom_value"
-litellm_settings:
- success_callback: ["s3"]
- s3_callback_params:
- s3_bucket_name: mytestbucketlitellm # AWS Bucket Name for S3
- s3_region_name: us-west-2 # AWS Region Name for S3
- s3_aws_access_key_id: os.environ/AWS_ACCESS_KEY_ID # us os.environ/<variable name> to pass environment variables. This is AWS Access Key ID for S3
- s3_aws_secret_access_key: os.environ/AWS_SECRET_ACCESS_KEY # AWS Secret Access Key for S3
+general_settings:
+ infer_model_from_keys: true
\ No newline at end of file