mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
fix(main.py): log user for embedding calls
This commit is contained in:
parent
fe3af38f95
commit
096f3baea6
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue