diff options
| author | Jeff Carr <[email protected]> | 2025-08-21 12:30:36 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-08-21 12:30:36 -0500 |
| commit | b221e7a95cc27c8b0b17c7322bea02b88888e033 (patch) | |
| tree | bde6b41a56167d9f5352e61459c9d7ba4a0e6496 /main.go | |
| parent | e655b37e60a19cbdd1aeddbff0494d74b6a9c5d9 (diff) | |
add ConfigSave()
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -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") |
