mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 00:58:30 +00:00
rm print
This commit is contained in:
@@ -33,7 +33,6 @@ class EmbeddingConfigurator:
|
|||||||
if isinstance(provider, EmbeddingFunction):
|
if isinstance(provider, EmbeddingFunction):
|
||||||
try:
|
try:
|
||||||
validate_embedding_function(provider)
|
validate_embedding_function(provider)
|
||||||
print("Valid custom embedding function", provider, config)
|
|
||||||
return provider
|
return provider
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise ValueError(f"Invalid custom embedding function: {str(e)}")
|
raise ValueError(f"Invalid custom embedding function: {str(e)}")
|
||||||
|
|||||||
Reference in New Issue
Block a user