getsentry / getsentry/sentry-python

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

Aperta
#4,242 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Feature Integration: Anthropic Python Spans
Lingua principale
Python
Stelle
2.2k
Fork
669
Merge medio
1g 1h
PR unite (30g)
213

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.