mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
User messages with array content were routed through mapBlocksToTimeline which hardcoded all text blocks as assistant_message. This caused user interrupt text to appear as assistant output in paseo logs and the app UI. Add textMessageType option so callers declare the role explicitly. When set to "user_message", text blocks coalesce into a single item matching extractUserMessageText semantics.