diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-02-09 11:29:47 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-02-09 11:29:47 +0300 |
| commit | 3f4d8a946775cfba6fc6d0ac7ade30b310bb883b (patch) | |
| tree | 21ab3e9bbc0518ae9a4e2adf6d61e581cdad036d /helpfuncs.go | |
| parent | c04e120ddbec870348b0340e0fbb41556812c3f5 (diff) | |
Fix (f1): load from the card
Diffstat (limited to 'helpfuncs.go')
| -rw-r--r-- | helpfuncs.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helpfuncs.go b/helpfuncs.go index dff53b9..538b4aa 100644 --- a/helpfuncs.go +++ b/helpfuncs.go @@ -121,12 +121,12 @@ func initSysCards() ([]string, error) { return labels, nil } -func startNewChat() { +func startNewChat(keepSysP bool) { id, err := store.ChatGetMaxID() if err != nil { logger.Error("failed to get chat id", "error", err) } - if ok := charToStart(cfg.AssistantRole); !ok { + if ok := charToStart(cfg.AssistantRole, keepSysP); !ok { logger.Warn("no such sys msg", "name", cfg.AssistantRole) } // set chat body |
