mirror of
https://github.com/langchain-ai/langgraphjs-gen-ui-examples.git
synced 2026-07-01 12:31:37 -04:00
LLM Message is removed from chat #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @michal-artur-marciniak on GitHub (Mar 14, 2025).
Hello!
I've started playing with your gen ui, but have some problem. I've created new agent, that has HIT. From console.log outputs I see that my agent is correctly gathering data and asking good questions, but in UI I can only see message until LLM is not done with writing (also it should only shows nextPrompt value, while he shows also whole JSON object), after it message is removed from chat and I cannot see it in state.messages. Is it problem with you GenUI or maybe I didn't understand how to append messages?
Below is my agent code:
index.ts
types.ts
gatherContactDetails.ts
@michal-artur-marciniak commented on GitHub (Mar 14, 2025):
I thought that this is problem with UI, but not - interrupt removes AI message.