Skip to content

Commit

Permalink
Update lunary_integration.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hughcrt authored Jan 14, 2025
1 parent ca1f708 commit 5e42027
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions docs/my-website/docs/observability/lunary_integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,9 @@ os.environ['OPENAI_API_KEY']="sk-..."
litellm.success_callback = ["lunary"]
litellm.failure_callback = ["lunary"]

TODO: verify if it's model_kwargs or metadata directly + add all possible metadata
chat = ChatLiteLLM(
model="gpt-4o"
model_kwargs={
"metadata": {
"user_id": "user-id2", #
"tags": ["tag1", "tag2"]
}
}
)
messages = [
messages = [
HumanMessage(
content="what model are you"
)
Expand Down

0 comments on commit 5e42027

Please sign in to comment.