langchain-ai / langsmith-sdk

LangSmith Client SDK Implementations
https://docs.smith.langchain.com/
MIT License
396 stars 74 forks source link

Issue: Langsmith web UI often not responding for multimodal traces #918

Open orgroman opened 2 months ago

orgroman commented 2 months ago

Issue you'd like to raise.

More often than not the web UI is not responding when attempting to view traces with multimodal images, it takes a lot of time to the point the web UI is just crashing and I can't use the web UI at all. Please make sure the web UI is always responding no matter what.

Suggestion:

Load and render the images on a separate thread and cache the images for performance

No response

hinthornw commented 2 months ago

Sorry to hear about that! @orgroman would it be possible to send a HAR file captured when it crashes to help us debug? Can send it to support@langchain.dev

orgroman commented 2 months ago

Sorry to hear about that! @orgroman would it be possible to send a HAR file captured when it crashes to help us debug? Can send it to support@langchain.dev

Sure, but you can also easily reproduce the unresponsiveness, just trace multiple images and try to view the trace. Here's the HAR, It didn't crash but it didn't respond either to any button click...

I can't upload the HAR directly to Github so I've uploaded it to my drive, you can contact me if you need any further help https://drive.google.com/file/d/1iciofICT1JdB0-JWBjVpgzBEAuW3sGI7/view?usp=sharing

hinthornw commented 1 month ago

Couple optimizations are in-flight andd should land in cloud in the next day or two