GraphSearchMemoryDailyAboutDream

KB / Memory / reference-ai-sdk-uimessage

AI SDK UIMessage shape

UIMessage is id+role+parts; unknown part types render as null

reference
referenceai-sdkweb
raw .md

Vercel AI SDK UIMessage = {id, role, parts[], metadata?}. Renderer switches on part.type and drops unknowns.

Native tool parts: dynamic-tool / tool-${name} with {state, input, output}. See tech-ai-sdk-history-dto-convert, tech-ai-agent-stack.

Sources

  • https://ai-sdk.dev/docs/ai-sdk-ui/chatbot-message-persistence
Back to Memory

Related

  • Convert history DTO → UIMessage
  • AI agent stack map

Referenced by

  • Convert history DTO → UIMessage
  • AI SDK native tool parts

Local graph

duyet.net

Apps

HomeBlogInsightsHomelabPhotosCV

Projects

AnyRouterClickHouse MonitorAI;DRTemplatebotAgent StateOMA

About

AboutProjectsGitHubRSSNewsletter

For agents

duyetbotMCP serverllms.txt