getsentry / getsentry/sentry-python

Verify `Agent.run_sync()` and `pydantic_ai.direct.model_request()` span coverage

Aberta
#5,841 1 comentário 0 reações 0 responsáveis Ver no GitHub
Python Spans Task
Linguagem predominante
Python
Estrelas
2.2k
Forks
669
Merge médio
1d 1h
PRs com merge (30d)
213

Descrição

`Agent.run_sync()` is not directly patched but likely works transitively since it calls `Agent.run()` internally. This should be verified with a test.

`pydantic_ai.direct.model_request()` is a standalone LLM call API that bypasses Agent entirely. The `Model.request` patch in `patches/model_request.py` may catch the underlying call, but this also needs verification.

Both should have explicit tests confirming span creation.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.