Skip to content

Commit 3e58834

Browse files
committed
format
1 parent eecbeb2 commit 3e58834

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

guardrails/llm_providers.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from guardrails.utils.logs_utils import LLMResponse
1010
from guardrails.utils.pydantic_utils import convert_pydantic_model_to_openai_fn
1111

12-
1312
OPENAI_RETRYABLE_ERRORS = [
1413
openai.error.APIConnectionError,
1514
openai.error.APIError,
@@ -369,7 +368,7 @@ def get_llm_ask(llm_api: Callable, *args, **kwargs) -> PromptCallableBase:
369368

370369
if isinstance(
371370
getattr(llm_api, "__self__", None),
372-
anthropic.resources.completions.Completions
371+
anthropic.resources.completions.Completions,
373372
):
374373
return AnthropicCallable(*args, client_callable=llm_api, **kwargs)
375374
except ImportError:

0 commit comments

Comments
 (0)