diff options
| author | Jeff Carr <[email protected]> | 2025-08-21 22:27:31 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-08-21 22:27:31 -0500 |
| commit | 142c6492000180aeb4fb0188def74faca74c9449 (patch) | |
| tree | 6d99309111037dc5e6b2512989015ebb5e33e51d /config.go | |
| parent | 2d7b5fe532650562e83aa98b1e5f2c41149dadc6 (diff) | |
trying to debug protobuf stuffv0.0.2
Diffstat (limited to 'config.go')
| -rw-r--r-- | config.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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() |
