Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added tags, user_feedback and model_options to additional_keys which can be sent to athina #8845

Merged
merged 3 commits into from
Mar 10, 2025

Conversation

vivek-athina
Copy link
Contributor

@vivek-athina vivek-athina commented Feb 26, 2025

Title

Added tags, user_feedback and model_options to additional_keys which can be sent to athina

Type

🆕 New Feature

Changes

Added tags to additional_keys which are sent to Athina using the AthinaLogger

Screenshots of tests passing locally

Screenshot 2025-02-26 at 9 00 34 PM Screenshot 2025-02-26 at 9 00 15 PM

Units Tests

Screenshot 2025-02-28 at 9 47 45 PM

Copy link

vercel bot commented Feb 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 10, 2025 5:44am

@vivek-athina
Copy link
Contributor Author

@krrishdholakia @ishaan-jaff Please review.

Thanks!

Copy link
Contributor

@ishaan-jaff ishaan-jaff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed

if key in metadata:
print("key is being added", key)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are prints here, did you review your own code before asking us @vivek-athina ?

  • please add unit tests in tests/litellm/integrations/test_athina.py

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies for missing the prints. It was a mistake/oversight on my end.
Added units tests as suggested.
Screenshot 2025-02-28 at 9 47 45 PM

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ishaan-jaff Can you please check again?

@vivek-athina vivek-athina changed the title Added tags to additional_keys which can be sent to athina Added tags, user_feedback and model_options to additional_keys which can be sent to athina Feb 28, 2025
@vivek-athina
Copy link
Contributor Author

@krrishdholakia @ishaan-jaff Can you please review again?

1 similar comment
@vivek-athina
Copy link
Contributor Author

@krrishdholakia @ishaan-jaff Can you please review again?

@vivek-athina
Copy link
Contributor Author

@krrishdholakia @ishaan-jaff Can you please review again?

@vivek-athina
Copy link
Contributor Author

@krrishdholakia @ishaan-jaff Can you please review again?

Update main
Copy link
Contributor

@ishaan-jaff ishaan-jaff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ishaan-jaff ishaan-jaff merged commit 929f342 into BerriAI:main Mar 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants