make chat entries

This commit is contained in:
Jeff Carr 2025-08-22 01:58:26 -05:00
parent 4fd6fd81d3
commit 80090152a1
2 changed files with 15 additions and 2 deletions

View File

@ -34,7 +34,7 @@ message CodeSnippet { // `autogenpb:nomute
string content = 2; string content = 2;
} }
message Chat { // `autogenpb:nomutex` message ChatEntry { // `autogenpb:nomutex`
Who from = 1; Who from = 1;
google.protobuf.Timestamp ctime = 2; google.protobuf.Timestamp ctime = 2;
string content = 3; string content = 3;
@ -45,6 +45,19 @@ message Chat { // `autogenpb:nomute
repeated CodeSnippet Snippets = 8; repeated CodeSnippet Snippets = 8;
} }
message Chat { // `autogenpb:nomutex`
Who from = 1;
google.protobuf.Timestamp ctime = 2;
string content = 3;
Table table = 4;
repeated ToolCall ToolCalls = 5;
string ContentFile = 6; // `autogenpb:unique` `autogenpb:sort`
string uuid = 7; // `autogenpb:unique` `autogenpb:sort`
repeated CodeSnippet Snippets = 8;
string ChatName = 9;
repeated ChatEntry Entries = 10;
}
message Chats { // `autogenpb:marshal` `autogenpb:mutex` message Chats { // `autogenpb:marshal` `autogenpb:mutex`
string uuid = 1; // `autogenpb:uuid:9fd31f10-c25d-4d66-bc8d-5f6eb7c79057` string uuid = 1; // `autogenpb:uuid:9fd31f10-c25d-4d66-bc8d-5f6eb7c79057`
string version = 2; // `autogenpb:version:v0.0.1` string version = 2; // `autogenpb:version:v0.0.1`