refactor: Update OpenAIEmbeddingsComponent to handle None value for request_timeout
This commit is contained in:
parent
ff6d20f76f
commit
cff8dfb897
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ class OpenAIEmbeddingsComponent(LCModelComponent):
|
|||
api_version=self.openai_api_version,
|
||||
organization=self.openai_organization,
|
||||
openai_proxy=self.openai_proxy,
|
||||
timeout=self.request_timeout,
|
||||
timeout=self.request_timeout or None,
|
||||
show_progress_bar=self.show_progress_bar,
|
||||
skip_empty=self.skip_empty,
|
||||
tiktoken_model_name=self.tiktoken_model_name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue