mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-09 10:56:52 +08:00
add embedding max retries (#699)
This commit is contained in:
@@ -22,6 +22,7 @@ class IndexBuilder:
|
||||
)
|
||||
|
||||
embeddings = CacheEmbedding(OpenAIEmbeddings(
|
||||
max_retries=1,
|
||||
**model_credentials
|
||||
))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user