getsentry / getsentry/sentry-python
Add `gen_ai.request.top_k` to model settings mapping
Offen
Improvement
Python
Spans
- Vorherrschende Sprache
- Python
- Sterne
- 2.2k
- Forks
- 669
- Ø Merge
- 1 T. 1 Std.
- Gemergte PRs (30 T.)
- 213
Beschreibung
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`.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.