initial work on message history and data transfer
This commit is contained in:
1 parent
e878b8120b
commit
e63fd76d2f
6 files changed
+149
-49
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user