Hugues Chocart
Hugues Chocart
Hi @porsager, could you please merge this PR?
Hi @whimo and @ZmeiGorynych, I have updated our Python SDK to provide the latest run ID. You can use `lunary.run_ctx.get()` to retrieve it. Regarding the implementation for cached calls on...
Can you pass the metadata where you do the langchain invoke? It will be passed down to lunary automatically
I've added the UI for cached calls:  Please let me know if you can make it work, especially with Langchain.
Hi @whimo, You only need to send the metadata in the track_event corresponding to the `llm end` event. You would know at that time if it was cached, right? We...
Hi @whimo, got it, I think we can something like: ``` | track_event(llm start) || //
You can now use `lunary.track_event("llm", "update", lunary.run_ctx.get(), metadata={"cache": True})`. You don't need to update the SDK, we handle everything on the latest version of the server. Please reopen the issue...
Hi @whimo, I will have a look and get back to you with a solution 🙂
Hi @whimo, sorry the delay. In version 1.0.20, the callback handler now uses the global event queue. I will get back to you in a bit, when the update using...
@whimo, in version `1.0.21`, the event queue is in a context var, so it should solve your problem. Let me know if that works for you 🙂