summaryrefslogtreecommitdiff
path: root/chat.proto
diff options
context:
space:
mode:
Diffstat (limited to 'chat.proto')
-rw-r--r--chat.proto6
1 files changed, 6 insertions, 0 deletions
diff --git a/chat.proto b/chat.proto
index 79d2ce5..f2154eb 100644
--- a/chat.proto
+++ b/chat.proto
@@ -29,6 +29,11 @@ message ToolCall {
int32 exit_code = 6;
}
+message CodeSnippet {
+ string filename = 1;
+ string content = 2;
+}
+
message Chat {
Who from = 1;
google.protobuf.Timestamp ctime = 2;
@@ -37,6 +42,7 @@ message Chat {
repeated ToolCall ToolCalls = 5;
string ContentFile = 6; // `autogenpb:unique` `autogenpb:sort`
string uuid = 7; // `autogenpb:unique` `autogenpb:sort`
+ repeated CodeSnippet Snippets = 8;
}
message Chats { // `autogenpb:marshal` `autogenpb:mutex`