fix(gemini): set author to GEMINI in doOutput
This commit is contained in:
parent
48ba121435
commit
3f6a796181
|
@ -40,7 +40,7 @@ func doOutput(s string) {
|
||||||
// If the "auto" chat is found, add the new entry.
|
// If the "auto" chat is found, add the new entry.
|
||||||
if autoChat != nil {
|
if autoChat != nil {
|
||||||
newEntry := &chatpb.ChatEntry{
|
newEntry := &chatpb.ChatEntry{
|
||||||
From: chatpb.Who_GEMINI, // Or USER, depending on context
|
From: chatpb.Who_GEMINI,
|
||||||
Content: s,
|
Content: s,
|
||||||
}
|
}
|
||||||
autoChat.Entries = append(autoChat.Entries, newEntry)
|
autoChat.Entries = append(autoChat.Entries, newEntry)
|
||||||
|
|
Loading…
Reference in New Issue