Skip to content

Commit

Permalink
OpenAITextEmbedder - remove unused constants
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 committed Dec 20, 2024
1 parent 99e7e34 commit 57411a2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions haystack/components/embedders/openai_text_embedder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 57411a2

Please sign in to comment.