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

communication
This commit is contained in:
jarno committed 2026-02-22 11:52:42 +02:00
1 parent edc425e28f
commit 6364fdf1cd
11 files changed
+129 -59

No files matched your search

+1 -1
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) => {