assistant-ui icon indicating copy to clipboard operation
assistant-ui copied to clipboard

LangGraph: Thread Switching, Reloading, Message Editing

Open GregorBeuster opened this issue 1 year ago • 10 comments

useLangGraphRuntime doesn´t seem to support any of the advanced actions like thread switching, reloading last message etc. and I have no idea how to add this functionality :-(

PS: Still love this project 100%

GregorBeuster avatar Sep 15 '24 16:09 GregorBeuster

Thank you so much for the feedback.

  • Thread switching is something I'm actively working on delivering on the langgraph integration
  • Reloading, message editing is up after that. Under the hood, this will leverage the "forking" functionality of LangGraph Cloud

I'll update this issue once we make progress here!

Yonom avatar Sep 15 '24 19:09 Yonom

🥰🥰🥰 much love!!!


From: Simon Farshid @.> Sent: Sunday, September 15, 2024 9:22:08 PM To: Yonom/assistant-ui @.> Cc: Gregor Beuster @.>; Author @.> Subject: Re: [Yonom/assistant-ui] Error: Runtime does not support switching to new threads. (Issue #839)

Thank you so much for the feedback.

  • Thread switching is something I'm actively working on delivering on the langgraph integration
  • Reloading, message editing is up after that. Under the hood, this will leverage the "forking" functionality of LangGraph Cloud

I'll update this issue once we make progress here!

— Reply to this email directly, view it on GitHubhttps://cas5-0-urlprotect.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fYonom%2fassistant%2dui%2fissues%2f839%23issuecomment%2d2351755456&umid=bcc00a5a-8cce-49a6-afc5-f6608b1aaa80&auth=eda364dc93b0e210e444ff7b032d648d575a141f-6b646469f0e5b0b3e007db47157686ec88b5b3e3, or unsubscribehttps://cas5-0-urlprotect.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fnotifications%2funsubscribe%2dauth%2fAECLE4F7H5HUSW6N2ZDODC3ZWXM6BAVCNFSM6AAAAABOH6MEMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJRG42TKNBVGY&umid=bcc00a5a-8cce-49a6-afc5-f6608b1aaa80&auth=eda364dc93b0e210e444ff7b032d648d575a141f-a5bbd7602249c4684e8fd6b87a1f3e7e315dd408. You are receiving this because you authored the thread.Message ID: @.***>

Leading Employer 2024, Top Brand Corporate Health 2024, Top Nationaler Arbeitgeber 2023

Kostenfreier Impuls zum Stell-eine-dumme-Frage-Tag am 30. September von 13:00 - 13:30 Uhr „Es gibt keine dummen Fragen, oder?“ mit Darina Doubravová. Mehr Informationenhttps://www.familienservice.de/stell-eine-dumme-frage-tag-impuls-webinar

[Link zum Gesundheitstag 2024 vom pme Familienservice]https://www.familienservice.de/healthday

GregorBeuster avatar Sep 16 '24 06:09 GregorBeuster

I have some good news. Thread switching support is expected to land this week!

Yonom avatar Oct 14 '24 04:10 Yonom

Is there any action on this? Support for useLangGraphRuntime reloading messages out of the box.

harisrab avatar Mar 09 '25 13:03 harisrab

Langgraph now has a chat ui that solve those challenges https://github.com/langchain-ai/agent-chat-ui

soufiene-slimi avatar Mar 24 '25 19:03 soufiene-slimi

Also waiting for updating on this!

Thanks

nghiatran-resonancetech avatar Jun 22 '25 08:06 nghiatran-resonancetech

I am also looking forward for the update on this :)

mike818148 avatar Jun 23 '25 15:06 mike818148

Hi @Yonom , Is there any update on this part, it seems Langgraph Runtime still does not support the above. Thank you

LuongQuyTan1999 avatar Jul 11 '25 02:07 LuongQuyTan1999

I would love an update on this as well. It looks like I am going to need to switch libraries, unless something is dropping very soon. I need message branching and message editing. Please advise

cnye36 avatar Aug 11 '25 00:08 cnye36

I used const api = useAssistantApi();

api.message().reload();`

but it still threw an error: "Runtime does not support reloading messages."

mengbo-ji avatar Oct 30 '25 08:10 mengbo-ji