getsentry / getsentry/sentry-python

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

未關閉
#5,841 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Python Spans Task
主要語言
Python
星號
2.2k
分支
669
平均合併
1 天 1 小時
30 天內合併 PR
213

描述

`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.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。