summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go13
1 files changed, 8 insertions, 5 deletions
diff --git a/main.go b/main.go
index 5d9585f..ac443c6 100644
--- a/main.go
+++ b/main.go
@@ -55,18 +55,21 @@ func main() {
os.Exit(0)
}
- if argv.Playback != nil {
- log.Info("do playback here")
+ if argv.Add != nil {
+ log.Info("add new conversation to protobuf")
okExit("")
}
- if argv.Add != nil {
- log.Info("add new conversation to protobuf")
+ if argv.Playback != nil {
+ log.Info("do playback here")
+ pb := formatRichLog("log/2025-08-20-final.text")
+ pb.ConfigSave()
okExit("")
}
log.Info("trying chatpb")
- chatpb.TestChat()
+ pb := chatpb.ExampleChat()
+ pb.ConfigSave()
// if opening the GUI, always check git for dirty repos
log.Info("open the gui here")