From 41f15045fb9231dcae2fbf44f2db9d090e3ee9b2 Mon Sep 17 00:00:00 2001 From: chinmay7016 <75988613+chinmay7016@users.noreply.github.com> Date: Tue, 31 Oct 2023 02:24:37 +0530 Subject: [PATCH] Update README.md fixed the error --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0a5f6a387..9d60dd7a9 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ Never fail a request using LiteLLM ```python from litellm import completion # if gpt-4 fails, retry the request with gpt-3.5-turbo->command-nightly->claude-instant-1 -response = completion(model="gpt-4",messages=messages, fallbacks=["gpt-3.5-turbo" "command-nightly", "claude-instant-1"]) +response = completion(model="gpt-4",messages=messages, fallbacks=["gpt-3.5-turbo", "command-nightly", "claude-instant-1"]) # if azure/gpt-4 fails, retry the request with fallback api_keys/api_base response = completion(model="azure/gpt-4", messages=messages, api_key=api_key, fallbacks=[{"api_key": "good-key-1"}, {"api_key": "good-key-2", "api_base": "good-api-base-2"}])