Skip to main content

Module server_msg

Module server_msg 

Source

Re-exports§

pub use crate::types::MessageOrigin;

Structs§

CacheWarning
Unexpected cache invalidation warning.
CommandOutput
Command result.
Error
Error response.
History
Full state snapshot.
NewMessage
Conversation message appended by the daemon.
Phase
Generation phase change.
Ping
Keepalive.
ProviderFallbackWarning
The daemon rotated from one configured provider key to another mid-request because the previous key reported a credential-scoped failure (missing, invalid, exhausted quota or budget, account-scoped rate limit).
SendImage
Server-generated image ready.
ServerHello
Server hello — sent after client connects.
Shutdown
Server shutting down.
StreamChunk
Partial content chunk.
StreamEnd
Done streaming.
StreamStart
Begin streaming.
ToolCall
Tool invoked during generation.
ToolResult
Tool completed.
UsageWarning
A configured usage budget crossed one or more warning thresholds.

Enums§

ServerMessage
All server → client message types, tagged by “type”.