mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-06-04 11:14:10 +08:00
add embedding max retries (#699)
This commit is contained in:
parent
c48ec1334e
commit
fa73aa8dbf
@ -22,6 +22,7 @@ class IndexBuilder:
|
||||
)
|
||||
|
||||
embeddings = CacheEmbedding(OpenAIEmbeddings(
|
||||
max_retries=1,
|
||||
**model_credentials
|
||||
))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user