mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 15:57:04 +00:00
close input channel when receiving io.EOF
This commit is contained in:
@@ -536,7 +536,6 @@ func generateInteractive(cmd *cobra.Command, model string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer scanner.Close()
|
||||
|
||||
var wordWrap bool
|
||||
termType := os.Getenv("TERM")
|
||||
|
||||
Reference in New Issue
Block a user