Commit a147d4c
committed
Fix Langfuse userId tracking: use start_span() instead of start_as_current_span()
start_as_current_span() returns a context manager, not a span object,
causing 'update_trace()' to fail with:
'_AgnosticContextManager' object has no attribute 'update_trace'
Signed-off-by: sallyom <somalley@redhat.com>1 parent b6459b4 commit a147d4c
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
212 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
213 | 214 | | |
214 | 215 | | |
215 | 216 | | |
| |||
219 | 220 | | |
220 | 221 | | |
221 | 222 | | |
222 | | - | |
| 223 | + | |
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
| |||
0 commit comments