getsentry / getsentry/sentry-python

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

Ouverte
#4,242 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Feature Integration: Anthropic Python Spans
Langage dominant
Python
Étoiles
2.2k
Forks
669
Merge moyen
1 j 1 h
PR mergées (30 j)
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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.