-
Notifications
You must be signed in to change notification settings - Fork 632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Draft] Dylan/canvas-expansion #311
base: main
Are you sure you want to change the base?
Conversation
@starmorph is attempting to deploy a commit to the LangChain Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i really like this ui improvement! My one nit is the initial loading state should only be shown until the first "token" from the artifact is generated, then it should show the artifact streaming in. The way you have it right now is it'll show the artifact loading state for the entire duration of the initial artifact generation.
Other than that, lgtm!
@@ -468,6 +471,7 @@ export function GraphProvider({ children }: { children: ReactNode }) { | |||
} | |||
|
|||
if (langgraphNode === "generateArtifact") { | |||
setCurrentNode("generateArtifact"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be better to define this on ~L423 after the langgraphNode
is extracted so it always has the proper node in the state.
Loom Video