From 36361b7b14536586cf14ace2a188345248bf742d Mon Sep 17 00:00:00 2001 From: plaguss Date: Fri, 25 Oct 2024 10:24:37 +0200 Subject: [PATCH] Fix patch import --- src/distilabel/models/llms/azure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/distilabel/models/llms/azure.py b/src/distilabel/models/llms/azure.py index f8f26285c..964612f37 100644 --- a/src/distilabel/models/llms/azure.py +++ b/src/distilabel/models/llms/azure.py @@ -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()