mirror of
https://github.com/likelovewant/ollama-for-amd.git
synced 2025-12-21 22:33:56 +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