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

Support for AnthropicBedrock client #701

Merged
merged 13 commits into from
Dec 23, 2024

Conversation

stephenhibbert
Copy link
Contributor

Added support for passing AnthropicBedrock and AsyncAnthropicBedrock clients to instrument_anthropic()

Copy link

codecov bot commented Dec 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (ecdd723) to head (f9a57c0).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #701   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          138       139    +1     
  Lines        11170     11206   +36     
  Branches      1567      1572    +5     
=========================================
+ Hits         11170     11206   +36     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

pyproject.toml Outdated Show resolved Hide resolved
@stephenhibbert
Copy link
Contributor Author

image

@alexmojaki - do you think we should add any other metadata about this LLM being on Bedrock to help users distinguish between this and the Anthropic API?

@PierreColombo
Copy link

This is huge thanks we will use it asap.

docs/integrations/llms/anthropic.md Outdated Show resolved Hide resolved
docs/integrations/llms/anthropic.md Outdated Show resolved Hide resolved
logfire/_internal/integrations/llm_providers/anthropic.py Outdated Show resolved Hide resolved
logfire/_internal/main.py Outdated Show resolved Hide resolved
docs/integrations/llms/anthropic.md Outdated Show resolved Hide resolved
uv.lock Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
Copy link
Contributor

@alexmojaki alexmojaki left a comment

Choose a reason for hiding this comment

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

Thanks!

@alexmojaki alexmojaki merged commit db1f57a into pydantic:main Dec 23, 2024
14 checks 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.

3 participants