From 3ea128c962e056529f1550a67708d2580ac81bac Mon Sep 17 00:00:00 2001 From: Stefano Fiorucci Date: Sat, 21 Dec 2024 09:46:30 +0100 Subject: [PATCH] OpenAITextEmbedder - remove unused constants (#8669) --- haystack/components/embedders/openai_text_embedder.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/haystack/components/embedders/openai_text_embedder.py b/haystack/components/embedders/openai_text_embedder.py index ba73be2122..32b2f6da3a 100644 --- a/haystack/components/embedders/openai_text_embedder.py +++ b/haystack/components/embedders/openai_text_embedder.py @@ -10,9 +10,6 @@ from haystack import component, default_from_dict, default_to_dict from haystack.utils import Secret, deserialize_secrets_inplace -OPENAI_TIMEOUT = float(os.environ.get("OPENAI_TIMEOUT", 30)) -OPENAI_MAX_RETRIES = int(os.environ.get("OPENAI_MAX_RETRIES", 5)) - @component class OpenAITextEmbedder: