summaryrefslogtreecommitdiff
path: root/doOutput.go
diff options
context:
space:
mode:
Diffstat (limited to 'doOutput.go')
-rw-r--r--doOutput.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/doOutput.go b/doOutput.go
index 0e193c2..1ff81fd 100644
--- a/doOutput.go
+++ b/doOutput.go
@@ -10,7 +10,7 @@ import (
)
func doOutput(s string) {
- filename := "/tmp/gemini-output.log"
+ filename := "/tmp/regex-output.log"
f, err := os.OpenFile(filename, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)
if err != nil {
log.Println(err)
@@ -42,7 +42,7 @@ func doOutput(s string) {
// If the "auto" chat is found, add the new entry.
if autoChat != nil {
newEntry := &chatpb.ChatEntry{
- From: chatpb.Who_GEMINI,
+ From: chatpb.Who_REGEX,
Content: s,
Ctime: timestamppb.New(time.Now()),
}