mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
(test) langfuse updates
This commit is contained in:
parent
d8a5339c0b
commit
205f4a59e9
1 changed files with 3 additions and 1 deletions
|
@ -37,7 +37,9 @@ def test_langfuse_logging_custom_generation_name():
|
||||||
}],
|
}],
|
||||||
max_tokens=10,
|
max_tokens=10,
|
||||||
metadata = {
|
metadata = {
|
||||||
"generation_name": "litellm-ishaan-gen"
|
"generation_name": "litellm-ishaan-gen", # set langfuse generation name
|
||||||
|
# custom metadata fields
|
||||||
|
"project": "litellm-proxy"
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
print(response)
|
print(response)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue