getsentry / getsentry/sentry-python
Add `gen_ai.request.top_k` to model settings mapping
未关闭
Improvement
Python
Spans
- 主要语言
- Python
- 星标
- 2.2k
- 派生
- 669
- 平均合并
- 1 天 1 小时
- 30 天内合并 PR
- 213
描述
Add `top_k` → `SPANDATA.GEN_AI_REQUEST_TOP_K` to `settings_map` in `sentry_sdk/integrations/pydantic_ai/utils.py:148`.
This is a recommended OTel attribute that we already have defined in `consts.py` but is not mapped from pydantic-ai's `ModelSettings`.
贡献指南
评估
这个 Issue 还没有评估数据。