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§
- Assistant
Content Part - Content part for assistant messages: can be text, reasoning, or mutation.
- Assistant
Model Message - An assistant message containing text
- Error
- An error that occurred during the chat session
- Finish
- Indicates the end of a chat session
- Image
Part - User-supplied image part.
- Model
Message - ModelMessage is a discriminated union of system, user, assistant, and tool messages. Each message type has its own structure and content.
- Mutation
Json - this is the “result” of the mutation
- Reasoning
Delta - A delta (continuation) of a reasoning message from the agent
- Reasoning
End - Indicates the end of a reasoning message from the agent
- Reasoning
Part - Reasoning part for assistant messages.
- Reasoning
Start - Indicates the start of a reasoning message from the agent
- Stream
Chat Request - StreamChatRequest is a request to stream chat messages for workbook AI agent
- Stream
Chat Response - StreamChatResponse is a discriminated union response to a StreamChatRequest
- Text
Delta - A delta (continuation) of a text message from the agent
- TextEnd
- Indicates the end of a text message from the agent
- Text
Part - Text part for user or assistant messages.
- Text
Start - Indicates the start of a text message from the agent
- User
Content Part - User
Model Message - A user message containing text