Custom Run IDs & tags with proxy #6

Closed
opened 2026-02-21 17:16:57 -05:00 by yindo · 2 comments
Owner

Originally created by @sfuller14 on GitHub (Apr 5, 2024).

Hi there,

Thanks for all the innovative stuff the team is putting out.

I'm using the langsmith proxy because I need langsmith to support streaming, and, to my understanding of the docs, using the proxy is the only way to do this currently (?).

However, when using the proxy, there's no documentation on how to specify custom Run IDs, Trace IDs, tags, metadata, etc. The pattern shown in the docs is basically just raw OpenAI API syntax with the proxy URL specified as a param in openai.Client().

Are tags, IDs currently supported by the proxy?

Tyia

Originally created by @sfuller14 on GitHub (Apr 5, 2024). Hi there, Thanks for all the innovative stuff the team is putting out. I'm using the langsmith proxy because I need langsmith to support streaming, and, to my understanding of the docs, using the proxy is the only way to do this currently (?). However, when using the proxy, there's no documentation on how to specify custom Run IDs, Trace IDs, tags, metadata, etc. The pattern shown in [the docs](https://docs.smith.langchain.com/proxy/quickstart#what-is-the-langsmith-proxy) is basically just raw OpenAI API syntax with the proxy URL specified as a param in openai.Client(). Are tags, IDs currently supported by the proxy? Tyia
yindo closed this issue 2026-02-21 17:16:57 -05:00
Author
Owner

@hinthornw commented on GitHub (Apr 5, 2024):

Hi @sfuller14 could you elaborate on langsmith not supporting streaming? What are you trying to do?

LangSmith supports streaming natively:

from langsmith import traceable

@traceable
def foo():
    for i in range(10):
        yield i

list(foo)

The proxy doesn't currently support all the tags, metadata and run ID specification

@hinthornw commented on GitHub (Apr 5, 2024): Hi @sfuller14 could you elaborate on langsmith not supporting streaming? What are you trying to do? LangSmith supports streaming natively: ```python from langsmith import traceable @traceable def foo(): for i in range(10): yield i list(foo) ``` The proxy doesn't currently support all the tags, metadata and run ID specification
Author
Owner

@sfuller14 commented on GitHub (Apr 5, 2024):

Okay thanks for confirming. I couldn't find that pattern anywhere in the docs except in the proxy section - could be worth making explicit somewhere like the QuickStart (though I may have just missed it). Thanks!

@sfuller14 commented on GitHub (Apr 5, 2024): Okay thanks for confirming. I couldn't find that pattern anywhere in the docs except in the proxy section - could be worth making explicit somewhere like the QuickStart (though I may have just missed it). Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langsmith-docs#6