getsentry / getsentry/sentry-python

Sentry LLM Monitoring does not capture tool use or thinking for Anthropic

Open
#4,242 0 comments 0 reactions 0 assignees View on GitHub
Feature Integration: Anthropic Python Spans
Dominant language
Python
Stars
2.2k
Forks
669
Avg merge
1d 1h
Merged PRs (30d)
213

Description

When capturing LLM outputs sentry should capture tool use blocks and thinking blocks as part of the response object, this is vital information for developers working on LLM products. Currently only text responses are captured.

https://github.com/getsentry/sentry-python/blob/adcfa0f6abf8850f3b007bde609d0f943f621786/sentry_sdk/integrations/anthropic.py#L78-L85

https://docs.anthropic.com/en/api/messages#response-content

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.