Commit 089244b
feat(platform): include jobKey in LLM Gateway trace baggage
build_trace_context_headers emits folderKey/agentId/processKey but omits
jobKey, even though UiPathConfig.job_key is available. LLM Gateway now
builds the model-call span from this baggage, so without jobKey the span
cannot be attributed to the originating job. Callers currently work around
this by hand-injecting jobKey via extra_baggage; emitting it natively fixes
it once for every caller.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent aa5bb7e commit 089244b
1 file changed
Lines changed: 2 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| |||
0 commit comments