| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Sorry, something went wrong.
Semver Impact of This PR🟡 Minor (new features) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨Ai
Other
Bug Fixes 🐛Integrations
Litellm
Other
Documentation 📚
Internal Changes 🔧Release
Other
🤖 This preview updates automatically when you update the PR. |
Sorry, something went wrong.
| if ( | ||
| hasattr(usage, "output_tokens_reasoning") | ||
| and usage.output_tokens_reasoning is not None | ||
| ): |
There was a problem hiding this comment.
Is adding the reasoning tokens to pydantic-ai intentional?
Sorry, something went wrong.
There was a problem hiding this comment.
Ah no, forgot to remove that - thanks for catching that!
Sorry, something went wrong.
| import sentry_sdk | ||
| from pydantic_ai.usage import RequestUsage | ||
| from sentry_sdk.integrations.pydantic_ai.spans.utils import _set_usage_data | ||
| from sentry_sdk.consts import SPANDATA |
There was a problem hiding this comment.
please move these to the top of the file before merging 🙏
Sorry, something went wrong.
There was a problem hiding this comment.
excuse the slop 🙏
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Closes TET-1732
Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com