feat: store chat_id to allow multiple chats, use enums in tauri
communication
This commit is contained in:
1 parent
edc425e28f
commit
6364fdf1cd
11 files changed
+129
-59
No files matched your search
@@ -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