Skip to content

enhance: add token usage to Anthropic model provider #609

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

Merged
merged 1 commit into from
Apr 24, 2025

Conversation

thedadams
Copy link
Contributor

This change also removes the old python-based Anthropic model provider because it isn't being used anymore. Lastly, some simplifications to the OpenAI proxy are made.

Copy link
Member

@njhale njhale left a comment

Choose a reason for hiding this comment

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

We may want to move anothropic_common module over to enterprise tools as well if we're interested in keeping the python anothropic-bedrock-model-provider around, since it depends on it.

Not sure it's a huge problem since the requirements references a specific commit of this repo, but wanted to make you aware of the dependency (see https://github.com/obot-platform/enterprise-tools/blob/31de0bb64cce7052c0716e0f830d03dc53e9285a/anthropic-bedrock-model-provider/requirements.txt#L7)

@thedadams thedadams force-pushed the anthropic-token-usage branch 6 times, most recently from 6ad23bf to 96f5aad Compare April 24, 2025 14:01
This change also adds some simplifications to the OpenAI proxy.

Signed-off-by: Donnie Adams <[email protected]>
@thedadams thedadams force-pushed the anthropic-token-usage branch from 96f5aad to d1e8b42 Compare April 24, 2025 14:52
@thedadams thedadams merged commit ec468d2 into obot-platform:main Apr 24, 2025
2 checks passed
@thedadams thedadams deleted the anthropic-token-usage branch April 24, 2025 15:06
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.

3 participants