Commit a524a07
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 b8d2f65 commit a524a07
5 files changed
Lines changed: 9 additions & 5 deletions
File tree
- packages
- uipath-platform
- src/uipath/platform/chat
- tests/services
- uipath
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
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 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
| |||
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| 134 | + | |
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments