langchain-ai / langserve

LangServe 🦜️🏓
Other
1.79k stars 189 forks source link

RemoteRunnable provide a way to access metadata information #585

Open eyurtsev opened 3 months ago

eyurtsev commented 3 months ago
Haxeebraja commented 1 month ago

I need to access metadata run id from ainvoke. Is there a way to access it in python? requests package does return run_id however it does not support async.

Any suggestion to call async with any other package that would return run id?