forked from phoenix/litellm-mirror
fix(main.py): log user for embedding calls
This commit is contained in:
parent
03dd7bff13
commit
e45b491985
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