initial work on message history and data transfer

This commit is contained in:
2026-02-09 20:57:47 +02:00
parent e878b8120b
commit e63fd76d2f
6 changed files with 149 additions and 49 deletions

View File

@@ -7,13 +7,17 @@ service AiDaemon {
rpc ChatHistory(ChatHistoryRequest) returns (ChatHistoryResponse);
}
message ChatResponse {
message ChatMessage {
int64 id = 1;
int64 chat_id = 2;
string text = 10;
bool is_user = 20;
}
message ChatResponse {
int64 chat_id = 2;
repeated ChatMessage messages = 10;
}
message ChatRequest {
optional int64 chat_id = 1;
optional string text = 10;