Skip to content

Conversation

@dudududukim
Copy link

Issue

Completed streaming messages show only first chunk instead of full text.

Cause

After streaming, SDK merges content as [{type:"text",...}, "string"] but getContentString only processed objects.

Fix

  • Handle both object and string types in content array
  • Add suppressHydrationWarning for browser extensions

- Fix getContentString to handle both object and string content items
- Add suppressHydrationWarning to prevent browser extension conflicts

When streaming completes, LangGraph SDK reconstructs message content
with mixed types: objects and raw strings. Updated getContentString
to handle both formats instead of filtering only for objects.
@vercel
Copy link

vercel bot commented Dec 30, 2025

@dudududukim is attempting to deploy a commit to the LangChain Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant