hi team,
would love the ability to fetch the current composer value (since we now have setComposerValue!)
something like
getComposerValue(): Promise<{
content: UserMessageContent[]
attachments: Attachment[]
reply: string | null
selectedToolId: string | null
selectedModelId: string | null
}>
would be super nice!
use cases for having this:
- render something outside of the chat based on the composer value contents (current attachments, etc.)
- appending/modifying instead of replacing the current composer value.
thanks!