Skip to content

Hookup LanguageModelDataPart to chat ouput renderers #266124

@mjbvz

Description

@mjbvz

For #257761

Let's hook up data parts so they can be rendered by chat output renderers as well. That should allow extension to generate content that is rendered directly instead of relying on tool calls:

new LanguageModelDataPart(encodedMermaidText, 'text/vnd.mermaid')

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions