mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-07 00:24:03 +00:00
(test) custom logger embedding
This commit is contained in:
@@ -55,7 +55,7 @@ class MyCustomHandler(CustomLogger):
|
||||
self.async_success = True
|
||||
print("Value of async success: ", self.async_success)
|
||||
print("\n kwargs: ", kwargs)
|
||||
if kwargs.get("model") == "azure-embedding-model":
|
||||
if kwargs.get("model") == "azure-embedding-model" or kwargs.get("model") == "ada":
|
||||
self.async_success_embedding = True
|
||||
self.async_embedding_kwargs = kwargs
|
||||
self.async_embedding_response = response_obj
|
||||
|
||||
Reference in New Issue
Block a user