36 Commits (a3b6886b7da0339e63ebf41e6ba5c6b06438a123)

Author SHA1 Message Date
Devon Rifkin 5f57b0ef42
add thinking support to the api and cli (#10584) 1 year ago
Shane-XB-Qian 6b45b1d6b4
cli: adding support ctrl-n/p like general cli (#9136) 1 year ago
Michael Yang cb40d60469 chore: upgrade to gods v2 2 years ago
Michael Yang 2697d7f5aa lint 2 years ago
Michael Yang b732beba6a lint 2 years ago
Michael Yang 8ce4032e72 more lint 2 years ago
Michael Yang f38353d6b9 stdin.fd 2 years ago
Michael Yang e40145a39d lint 2 years ago
Michael Yang 8ffb51749f nolintlint 2 years ago
Josh ad897080a2
working on integration of multi-byte and multi-width runes (#4549) 2 years ago
Giuseppe Lumia 2a5302a1cf
Fix paste of text with line feed characters (#3043) 2 years ago
Patrick Devine 5a5efee46b
Add gemma safetensors conversion (#3250) 2 years ago
Jeffrey Morgan 913306f4fd
Detect arrow keys on windows (#3363) 2 years ago
Blake Mizerany 6ce37e4d96
llm,readline: use errors.Is instead of simple == check (#3161) 2 years ago
Michael Yang b1e74d4fda default terminal width, height 2 years ago
Patrick Devine 42e77e2a69
handle race condition while setting raw mode in windows (#2509) 3 years ago
Meng Zhuo 069184562b
readline: drop not use min function (#2134) 3 years ago
Michael Yang f95d2f25f3 fix temporary history file permissions 3 years ago
Michael Yang 2bb2bdd5d4 fix lint 3 years ago
Michael Yang acfc376efd add .golangci.yaml 3 years ago
Michael Yang 2ef9352b94 fix(cmd): history in alt mode 3 years ago
Bruce MacDonald 7a1b37ac64
os specific ctrl-z (#1420) 3 years ago
Michael Yang 88620e983a handle ctrl+z 3 years ago
Jeffrey Morgan e9216ea459 fix readline history on linux 3 years ago
Jeffrey Morgan 9fb5e8399c Fix issues with inputting and formatting multi line strings in `ollama run` 3 years ago
Kevin Cao 3cd07728f4
Make alt+backspace delete word (#1223) 3 years ago
Michael Yang f42f3d9b27 go fmt 3 years ago
Bruce MacDonald 0818b5e318
readline windows terminal support (#950) 3 years ago
Jeffrey Morgan 8d03bd7b54 remove `+build` directive in `term.go` 3 years ago
Jeffrey Morgan 9ec16f0f03 fix formatting when exiting `ollama run` 3 years ago
Jeffrey Morgan 57a58db1b0 history: update pos after compact 3 years ago
Jeffrey Morgan 2d75a4537c close input channel when receiving `io.EOF` 3 years ago
Jeffrey Morgan 4748609611
Don't quit ioloop on `NUL` character (#940) 3 years ago
Patrick Devine a79f030e75
add bracketed paste mode (#922) 3 years ago
Patrick Devine 5b2cf16397
fix docker build annotations (#917) 3 years ago
Patrick Devine deeac961bb
new readline library (#847) 3 years ago