Repository navigation
Commit 10e4849
feat(otel)!: send x-langfuse-ingestion-version: 4 by default (#1930)
* chore!: require Python 3.11 or newer
Python 3.10 reaches end of life in October 2026. Raise requires-python
to >=3.11, target py311 in ruff, drop 3.10 from the CI unit matrix, and
remove the pre-3.11 fallbacks for asyncio.create_task(context=...) and
typing.NotRequired.
Co-authored-by: Hassieb Pakzad <hassiebp@users.noreply.github.com>
* feat(openai)!: drop support for OpenAI SDK versions below 1.0
The OpenAI integration now always uses the v1 client shapes. Remove the
pre-1.0 method definitions and every _is_openai_v1() branch, and raise
the dev dependency floor to openai>=1.0.0.
Co-authored-by: Hassieb Pakzad <hassiebp@users.noreply.github.com>
* feat(otel)!: send x-langfuse-ingestion-version: 4 by default
The default OTLP exporter now sends x-langfuse-ingestion-version: 4 so
servers in dual-write or preview mode process exported spans directly.
It is a no-op on events_only deployments, and additional_headers can
still override it.
Co-authored-by: Hassieb Pakzad <hassiebp@users.noreply.github.com>
* fix(observe): keep detecting legacy-marked coroutine functions
inspect.iscoroutinefunction ignores asyncio's _is_coroutine marker,
which asgiref's markcoroutinefunction sets on Python < 3.12. Accept
both so such functions keep the async wrapper and their observation
ends after the coroutine runs.
Co-authored-by: Hassieb Pakzad <hassiebp@users.noreply.github.com>
* test(otel): pin that a mixed-case ingestion-version override wins
Co-authored-by: Hassieb Pakzad <hassiebp@users.noreply.github.com>
* chore: re-run CI
Co-authored-by: Hassieb Pakzad <hassiebp@users.noreply.github.com>
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Hassieb Pakzad <hassiebp@users.noreply.github.com>1 parent 5aae390 commit 10e4849
2 files changed
Lines changed: 36 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
213 | 248 | | |
214 | 249 | | |
215 | 250 | | |
| |||
0 commit comments