feat: store chat_id to allow multiple chats, use enums in tauri
communication
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user