Skip to content

Commit

Permalink
Fix patch import
Browse files Browse the repository at this point in the history
  • Loading branch information
plaguss committed Oct 25, 2024
1 parent 1c1b74a commit 36361b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/distilabel/models/llms/azure.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ 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.llms.openai.OpenAILLM._prepare_structured_output", lambda x: x
"distilabel.models.openai.OpenAILLM._prepare_structured_output", lambda x: x
):
super().load()

Expand Down

0 comments on commit 36361b7

Please sign in to comment.