File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -434,19 +434,13 @@ def traced_method(
434434 args : List [Any ],
435435 kwargs : EmbeddingsCreateKwargs ,
436436 ) -> Any :
437- print (f"Debug - Embeddings instance type: { type (instance )} " )
438- print (f"Debug - Embeddings instance dir: { dir (instance )} " )
439-
440437 service_provider = SERVICE_PROVIDERS ["OPENAI" ]
441438 base_url = get_base_url (instance )
442- print (f"Debug - Base URL in embeddings: { base_url } " )
443- print (f"Debug - Initial Provider: { service_provider } " )
444439
445440 if "perplexity" in base_url :
446441 service_provider = SERVICE_PROVIDERS ["PPLX" ]
447442 elif "azure" in base_url :
448443 service_provider = SERVICE_PROVIDERS ["AZURE" ]
449- print (f"Debug - Azure detected, new provider: { service_provider } " )
450444 elif "groq" in base_url :
451445 service_provider = SERVICE_PROVIDERS ["GROQ" ]
452446 elif "x.ai" in base_url :
Original file line number Diff line number Diff line change @@ -167,8 +167,6 @@ def get_base_url(instance):
167167 if hasattr (instance , "_client" ) and hasattr (instance ._client , "_base_url" )
168168 else ""
169169 )
170- print (f"Debug - get_base_url called with instance type: { type (instance )} " )
171- print (f"Debug - get_base_url returning: { base_url } " )
172170 return base_url
173171
174172
You can’t perform that action at this time.
0 commit comments