From f8af5e0155e85efcaa35818e259318cb198e70e9 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Thu, 16 Nov 2023 12:25:46 -0800 Subject: [PATCH] (fix) linting --- litellm/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/main.py b/litellm/main.py index f4eaae6c5e6..b1213ad4d37 100644 --- a/litellm/main.py +++ b/litellm/main.py @@ -1819,7 +1819,7 @@ def embedding( ###### Text Completion ################ def text_completion( prompt: Union[str, List[Union[str, List[Union[str, List[int]]]]]], # Required: The prompt(s) to generate completions for. - model: str, # Required: ID of the model to use. + model: Optional[str], # Optional: either `model` or `engine` can be set best_of: Optional[int] = None, # Optional: Generates best_of completions server-side. echo: Optional[bool] = None, # Optional: Echo back the prompt in addition to the completion. frequency_penalty: Optional[float] = None, # Optional: Penalize new tokens based on their existing frequency.