feat: store chat_id to allow multiple chats, use enums in tauri

communication
This commit is contained in:
2026-02-22 11:52:42 +02:00
parent edc425e28f
commit 6364fdf1cd
11 changed files with 129 additions and 59 deletions

View File

@@ -72,7 +72,7 @@ pub async fn chat_history(
) -> Result<MessageHistory, String> {
let mut client = state.grpc_client.lock().await;
let result = client
.chat_history(ChatHistoryRequest { chat_id: None })
.chat_history(ChatHistoryRequest { chat_id: chat_id })
.await;
match result {
Ok(response) => {