mirror of
https://github.com/ollama/ollama.git
synced 2026-04-18 13:54:11 +02: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