diff --git a/litellm/main.py b/litellm/main.py index 5d21f2a3d..682384fa0 100644 --- a/litellm/main.py +++ b/litellm/main.py @@ -1922,7 +1922,7 @@ def text_completion( text_completion_response = TextCompletionResponse() - optional_params = {} + optional_params: Dict[str, Any] = {} if best_of is not None: optional_params["best_of"] = best_of if echo is not None: