This avoids emitting the progress indicators to stderr, and the interactive prompts to the output file or pipe. Running "ollama run model > out.txt" now exits immediately, and "echo hello | ollama run model > out.txt" produces zero stderr output and a typical response in out.txt |
||
|---|---|---|
| .. | ||
| cmd_test.go | ||
| cmd.go | ||
| interactive_test.go | ||
| interactive.go | ||
| start_darwin.go | ||
| start_default.go | ||
| start_windows.go | ||
| start.go | ||