chore(queue): update queue types
This commit is contained in:
parent
2186960002
commit
1b863a9f65
@ -11,6 +11,8 @@ pub struct RoomMessageEnvelope {
|
||||
pub room_id: Uuid,
|
||||
pub sender_type: String,
|
||||
pub sender_id: Option<Uuid>,
|
||||
/// AI model ID — set when sender_type = "ai", used for display name lookups.
|
||||
pub model_id: Option<Uuid>,
|
||||
pub thread_id: Option<Uuid>,
|
||||
pub in_reply_to: Option<Uuid>,
|
||||
pub content: String,
|
||||
@ -87,6 +89,8 @@ pub struct RoomMessageStreamChunkEvent {
|
||||
pub content: String,
|
||||
pub done: bool,
|
||||
pub error: Option<String>,
|
||||
/// Human-readable AI model name (e.g. "Claude 3.5 Sonnet") for display.
|
||||
pub display_name: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user