File size: 1,060 Bytes
44d3414 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
syntax = "proto3";
message ChatMessage {
message FileContent {
message Position {
int32 line = 1;
int32 column = 2;
}
message Range {
Position start = 1;
Position end = 2;
}
string filename = 1;
string content = 2;
Position position = 3;
string language = 5;
Range range = 6;
int32 length = 8;
int32 type = 9;
int32 error_code = 11;
}
message UserMessage {
string content = 1;
int32 role = 2;
string message_id = 13;
}
message Instructions {
string instruction = 1;
}
message Model {
string name = 1;
string empty = 4;
}
// repeated FileContent files = 1;
repeated UserMessage messages = 2;
Instructions instructions = 4;
string projectPath = 5;
Model model = 7;
string requestId = 9;
string summary = 11; // Maybe it's empty, describing what the session did, but it's not a title, and it might be used as an additional setting
string conversationId = 15; // Here's another one uuid
}
message ResMessage {
string msg = 1;
} |