Add `gen_ai.request.top_k` to model settings mapping
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 84/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 冷清
- 技术栈
- python
调研方向
从 sentry_sdk/integrations/pydantic_ai/utils.py 中 148 行附近的 settings_map 开始,然后对比 consts.py 中现有的 top_k 常量。当 pydantic-ai ModelSettings 的 top_k 值映射到 SPANDATA.GEN_AI_REQUEST_TOP_K 时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Python
- 星标
- 2.2k
- 派生
- 672
- 平均合并
- 1 天 13 分钟
- 30 天内合并 PR
- 212
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
getsentry/sentry-python 的其他 Issue
-
Waiting for: Product Owner
难度 2/5 1-3 小时 新手友好度 78/100
getsentry/sentry-python#7543 · 1 条评论 ·
-
Python
难度 2/5 1-3 小时 新手友好度 68/100
getsentry/sentry-python#6992 · 1 条评论 ·
-
Improvement Python
难度 2/5 1-3 小时 新手友好度 65/100
getsentry/sentry-python#6970 · 1 条评论 ·
-
Bug Python
难度 2/5 1-3 小时 新手友好度 74/100
getsentry/sentry-python#6504 · 1 条评论 ·
-
Improvement Python Spans
难度 2/5 1-3 小时 新手友好度 85/100
getsentry/sentry-python#5833 · 1 条评论 ·
查看 getsentry/sentry-python 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
-
难度 2/5 1-3 小时 新手友好度 88/100
use-agent-os/agent-os#3314 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
BasedHardware/omi#15662 · 1 条评论 ·
-
documentation help wanted
难度 2/5 1-3 小时 新手友好度 90/100
-
难度 2/5 1-3 小时 新手友好度 62/100
AiursoftWeb/AnduinOS-2#19 ·