Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 2, 2025
1 parent 1e4f0c9 commit 2f6ac4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/distilabel/models/llms/azure.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ def load(self) -> None:
# This is a workaround to avoid the `OpenAILLM` calling the _prepare_structured_output
# in the load method before we have the proper client.
with patch(
"distilabel.models.llms.openai.OpenAILLM._prepare_structured_output", lambda x: x
"distilabel.models.llms.openai.OpenAILLM._prepare_structured_output",
lambda x: x,
):
super().load()

Expand Down

0 comments on commit 2f6ac4f

Please sign in to comment.