Skip to content

fix(chat): align tracing function and stub on top-level chat_id - #40

Merged
SushantGautam merged 1 commit into
mainfrom
fix/chat-tracing-followups
Oct 13, 2026
Merged

SushantGautam merged 1 commit into
mainfrom
fix/chat-tracing-followups

Conversation

@SushantGautam

Copy link
Copy Markdown
Collaborator

Follow-up to #37, verified live against Langfuse Cloud.

The OWUI filter sent chat_id inside body.metadata while its outlet path relied on context keys Open WebUI does not populate, so chats fell back to a random id per hop and inlet/outlet spans never landed on one stable session. Send chat_id at the body top level (both inlet and outlet) and have the stub prefer it over metadata.

The OWUI filter sent chat_id inside body.metadata while the outlet path
relied on context keys Open WebUI does not populate, so chats fell back to
a random id per hop and spans never matched a stable session. Send chat_id
at the body top level (both inlet and outlet) and have the stub prefer it.
@SushantGautam
SushantGautam merged commit 3e2b6a8 into main Oct 13, 2026
1 check passed
@SushantGautam
SushantGautam deleted the fix/chat-tracing-followups branch October 13, 2026 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant