ollama/readline
Blake Mizerany 6ce37e4d96
llm,readline: use errors.Is instead of simple == check (#3161)
This fixes some brittle, simple equality checks to use errors.Is. Since
go1.13, errors.Is is the idiomatic way to check for errors.

Co-authored-by: Jeffrey Morgan <jmorganca@gmail.com>
2024-03-15 07:14:12 -07:00
..
buffer.go default terminal width, height 2024-03-07 11:35:42 -08:00
errors.go new readline library (#847) 2023-10-25 16:41:18 -07:00
history.go llm,readline: use errors.Is instead of simple == check (#3161) 2024-03-15 07:14:12 -07:00
readline.go handle race condition while setting raw mode in windows (#2509) 2024-02-14 21:28:35 -08:00
readline_unix.go handle race condition while setting raw mode in windows (#2509) 2024-02-14 21:28:35 -08:00
readline_windows.go handle race condition while setting raw mode in windows (#2509) 2024-02-14 21:28:35 -08:00
term.go handle race condition while setting raw mode in windows (#2509) 2024-02-14 21:28:35 -08:00
term_bsd.go go fmt 2023-11-01 11:55:08 -07:00
term_linux.go go fmt 2023-11-01 11:55:08 -07:00
term_windows.go handle race condition while setting raw mode in windows (#2509) 2024-02-14 21:28:35 -08:00
types.go Fix issues with inputting and formatting multi line strings in ollama run 2023-11-26 12:54:29 -05:00