Skip to content

Commit

Permalink
Interactive mode fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aandrew-me committed Aug 18, 2024
1 parent 9a50060 commit 080b760
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ func main() {
PrevMessages: previousMessages,
ThreadID: threadID,
Provider: *provider,
}, structs.ExtraOptions{IsInteractive: true, DisableInputLimit: *disableInputLimit})
}, structs.ExtraOptions{IsInteractive: true, DisableInputLimit: *disableInputLimit, IsNormal: true})
if len(*logFile) > 0 {
utils.LogToFile(responseTxt, "ASSISTANT_RESPONSE", *logFile)
}
Expand Down Expand Up @@ -305,7 +305,7 @@ func main() {
PrevMessages: previousMessages,
Provider: *provider,
ThreadID: threadID,
}, structs.ExtraOptions{IsInteractive: true, DisableInputLimit: *disableInputLimit})
}, structs.ExtraOptions{IsInteractive: true, DisableInputLimit: *disableInputLimit, IsNormal: true})
previousMessages += responseJson
lastResponse = responseTxt

Expand Down

0 comments on commit 080b760

Please sign in to comment.