Module v1

Module v1 

Source

Modules§

assistant_content_part
Nested message and enum types in AssistantContentPart.
model_message
Nested message and enum types in ModelMessage.
stream_chat_response
Nested message and enum types in StreamChatResponse.
user_content_part
Nested message and enum types in UserContentPart.
workbook_agent_service_client
Generated client implementations.

Structs§

AssistantContentPart
Content part for assistant messages: can be text, reasoning, or mutation.
AssistantModelMessage
An assistant message containing text
Error
An error that occurred during the chat session
Finish
Indicates the end of a chat session
ImagePart
User-supplied image part.
ModelMessage
ModelMessage is a discriminated union of system, user, assistant, and tool messages. Each message type has its own structure and content.
MutationJson
this is the “result” of the mutation
ReasoningDelta
A delta (continuation) of a reasoning message from the agent
ReasoningEnd
Indicates the end of a reasoning message from the agent
ReasoningPart
Reasoning part for assistant messages.
ReasoningStart
Indicates the start of a reasoning message from the agent
StreamChatRequest
StreamChatRequest is a request to stream chat messages for workbook AI agent
StreamChatResponse
StreamChatResponse is a discriminated union response to a StreamChatRequest
TextDelta
A delta (continuation) of a text message from the agent
TextEnd
Indicates the end of a text message from the agent
TextPart
Text part for user or assistant messages.
TextStart
Indicates the start of a text message from the agent
UserContentPart
UserModelMessage
A user message containing text