mirror of
https://github.com/langchain-ai/langsmith-docs.git
synced 2026-08-27 01:41:19 -04:00
DOC: <Issue related to /observability/how_to_guides/monitoring/threads> #46
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gzrubio on GitHub (Dec 23, 2024).
Originally assigned to: @angus-langchain on GitHub.
Hello!
I'm having some issues setting Threads for my project despite following this guide and Add metadata and tags literally.
The issue I am having is that although all the runs from my thread have the same
session_idthey are not bundled into a Thread. I tried usingthread_idbut that metadata key has no effect either.This is how I am setting up the metadata:
Is there any other condition required for Threads to work? If so, could we include it in the guide?
@angus-langchain commented on GitHub (Apr 7, 2025):
Hi @gzrubio, The thread metadata should be set on the root run, so in this case that would be the
@traceabledecorator.here's how you can modify your example to work with threads
@gzrubio commented on GitHub (Apr 9, 2025):
Hi @angus-langchain thanks for the working example :)
I am not 100% sure but I believe the docs have changed since I opened this, so it all looks clear to me. Feel free to close this issue now.
Thanks for the help!