fix(main.py): log user for embedding calls

This commit is contained in:
Krrish Dholakia 2023-12-14 15:14:37 -08:00
parent 03dd7bff13
commit e45b491985
2 changed files with 2 additions and 2 deletions

View file

@ -323,7 +323,7 @@ async def test_async_custom_handler_embedding_optional_param_bedrock():
customHandler_optional_params = MyCustomHandler()
litellm.callbacks = [customHandler_optional_params]
response = await litellm.aembedding(
model="bedrock/cohere.embed-multilingual-v3",
model="bedrock/amazon.titan-embed-text-v1",
input = ["hello world"],
user = "John"
)