summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-08-21 22:27:31 -0500
committerJeff Carr <[email protected]>2025-08-21 22:27:31 -0500
commit142c6492000180aeb4fb0188def74faca74c9449 (patch)
tree6d99309111037dc5e6b2512989015ebb5e33e51d /config.go
parent2d7b5fe532650562e83aa98b1e5f2c41149dadc6 (diff)
trying to debug protobuf stuffv0.0.2
Diffstat (limited to 'config.go')
-rw-r--r--config.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.go b/config.go
index 0db21b1..0d5d3c0 100644
--- a/config.go
+++ b/config.go
@@ -86,7 +86,9 @@ func (all *Chats) ConfigLoad() error {
// this means the gemini.pb file exists and was read
if len(data) == 0 {
// todo: add default data here since it's blank? // might cause nil panic?
- return errors.New("chatpb.ConfigLoad() gemini.pb is empty")
+ all.AddGeminiComment("I like astronomy")
+ log.Info(errors.New("chatpb.ConfigLoad() gemini.pb is empty"))
+ return nil
}
err = all.Unmarshal(data)
test := NewChats()