bd1d119ba9
fixed japanese characters deleted at end of line
2024-05-30 10:24:21 -07:00
a03be18189
Fix OLLAMA_LLM_LIBRARY with wrong map name and add more env vars to help message ( #4663 )
...
* envconfig/config.go: Fix wrong description of OLLAMA_LLM_LIBRARY
Signed-off-by: Lei Jitang <leijitang@outlook.com >
* serve: Add more env to help message of ollama serve
Add more enviroment variables to `ollama serve --help`
to let users know what can be configurated.
Signed-off-by: Lei Jitang <leijitang@outlook.com >
---------
Signed-off-by: Lei Jitang <leijitang@outlook.com >
2024-05-30 09:36:51 -07:00
4cc3be3035
Move envconfig and consolidate env vars ( #4608 )
2024-05-24 14:57:15 -07:00
9f18b88a06
Merge pull request #4566 from ollama/jyan/shortcuts
...
add Ctrl + W shortcut
2024-05-21 22:49:36 -07:00
353f83a9c7
add Ctrl + W shortcut
2024-05-21 16:55:09 -07:00
d355d2020f
add fixes for llama
2024-05-20 16:13:57 -07:00
ccdf0b2a44
Move the parser back + handle utf16 files ( #4533 )
2024-05-20 11:26:45 -07:00
105186aa17
add OLLAMA_NOHISTORY to turn off history in interactive mode ( #4508 )
2024-05-18 11:51:57 -07:00
3d90156e99
removed comment
2024-05-16 14:12:03 -07:00
26bfc1c443
go fmt'd cmd.go
2024-05-15 17:26:39 -07:00
799aa9883c
go fmt'd cmd.go
2024-05-15 17:24:17 -07:00
c9e584fb90
updated double-width display
2024-05-15 16:45:24 -07:00
17b1e81ca1
fixed width and word count for double spacing
2024-05-15 16:29:33 -07:00
c344da4c5a
fix keepalive for non-interactive mode ( #4438 )
2024-05-14 15:17:04 -07:00
a4b8d1f89a
re-add system context ( #4435 )
2024-05-14 11:38:20 -07:00
7ca71a6b0f
don't abort when an invalid model name is used in /save ( #4416 )
2024-05-13 18:48:28 -07:00
6845988807
Ollama ps command for showing currently loaded models ( #4327 )
2024-05-13 17:17:36 -07:00
f8464785a6
removed inconsistencies
2024-05-13 14:50:52 -07:00
91a090a485
removed inconsistent punctuation
2024-05-13 14:08:22 -07:00
8080fbce35
fix ollama create's usage string ( #4362 )
2024-05-11 14:47:49 -07:00
6602e793c0
Use --quantize flag and quantize api parameter ( #4321 )
...
* rename `--quantization` to `--quantize`
* backwards
* Update api/types.go
Co-authored-by: Michael Yang <mxyng@pm.me >
---------
Co-authored-by: Michael Yang <mxyng@pm.me >
2024-05-10 13:06:13 -07:00
06ac829e70
Fix help string for stop parameter ( #2307 )
2024-05-07 16:48:35 -07:00
39d9d22ca3
close server on receiving signal ( #4213 )
2024-05-06 16:01:37 -07:00
b7a87a22b6
Merge pull request #4059 from ollama/mxyng/parser-2
...
rename parser to model/file
2024-05-03 13:01:22 -07:00
e9ae607ece
Merge pull request #3892 from ollama/mxyng/parser
...
refactor modelfile parser
2024-05-02 17:04:47 -07:00
bf4fc25f7b
Add a /clear command ( #3947 )
...
* Add a /clear command
* change help messages
---------
Co-authored-by: Patrick Devine <patrick@infrahq.com >
2024-05-01 17:44:36 -04:00
45b6a12e45
server: target invalid
2024-05-01 12:40:45 -07:00
119589fcb3
rename parser to model/file
2024-05-01 09:53:50 -07:00
5ea844964e
cmd: import regexp
2024-05-01 09:53:45 -07:00
176ad3aa6e
parser: add commands format
2024-05-01 09:52:54 -07:00
0a7fdbe533
prompt to display and add local ollama keys to account ( #3717 )
...
- return descriptive error messages when unauthorized to create blob or push a model
- display the local public key associated with the request that was denied
2024-04-30 11:02:08 -07:00
9009bedf13
better checking for OLLAMA_HOST variable ( #3661 )
2024-04-29 19:14:07 -04:00
41e03ede95
check file type before zip
2024-04-26 14:18:07 -07:00
ac0801eced
only replace if it matches command
2024-04-24 14:49:26 -07:00
ad66e5b060
split temp zip files
2024-04-24 14:18:01 -07:00
658e60cf73
Revert "stop running model on interactive exit"
...
This reverts commit fad00a85e5 .
2024-04-22 17:23:11 -07:00
fad00a85e5
stop running model on interactive exit
2024-04-22 16:22:14 -07:00
949d7832cf
Revert "cmd: provide feedback if OLLAMA_MODELS is set on non-serve command ( #3470 )" ( #3662 )
...
This reverts commit 7d05a6ee8f .
This proved to be more painful than useful.
See: https://github.com/ollama/ollama/issues/3624
2024-04-15 16:58:00 -07:00
9f8691c6c8
Add llama2 / torch models for ollama create ( #3607 )
2024-04-15 11:26:42 -07:00
9502e5661f
cgo quantize
2024-04-08 15:31:08 -07:00
7d05a6ee8f
cmd: provide feedback if OLLAMA_MODELS is set on non-serve command ( #3470 )
...
This also moves the checkServerHeartbeat call out of the "RunE" Cobra
stuff (that's the only word I have for that) to on-site where it's after
the check for OLLAMA_MODELS, which allows the helpful error message to
be printed before the server heartbeat check. This also arguably makes
the code more readable without the magic/superfluous "pre" function
caller.
2024-04-02 22:11:13 -07:00
531324a9be
feat: add OLLAMA_DEBUG in ollama server help message ( #3461 )
...
Co-authored-by: Pier Francesco Contino <pfcontino@gmail.com >
2024-04-02 18:20:03 -07:00
5a5efee46b
Add gemma safetensors conversion ( #3250 )
...
Co-authored-by: Michael Yang <mxyng@pm.me >
2024-03-28 18:54:01 -07:00
1b272d5bcd
change github.com/jmorganca/ollama to github.com/ollama/ollama ( #3347 )
2024-03-26 13:04:17 -07:00
da20786e3e
Merge pull request #3068 from dhiltgen/win_pipe
...
Use stdin for term discovery on windows
2024-03-14 11:55:19 -07:00
672ffe9b7d
add OLLAMA_KEEP_ALIVE to environment variable docs for ollama serve ( #3127 )
2024-03-13 14:35:33 -07:00
c1a81c6fe3
Use stdin for term discovery on windows
...
When you feed input to the cmd via a pipe it no longer reports a warning
2024-03-13 10:37:31 -07:00
2ada81e068
cmd: tighten up env var usage sections ( #2962 )
...
Also, document OLLAMA_HOST client semantics per command that honors it.
This looks nicer than having a general puprose environment variable
section in the root usage which was showing up after the "addition help
topics" section outputed by Cobra's default template.
It was decided this was easier to work with than using a custom template
for Cobra right now.
2024-03-07 13:57:07 -08:00
2c017ca441
Convert Safetensors to an Ollama model ( #2824 )
2024-03-06 21:01:51 -08:00
0ded7fdc4b
cmd: document environment variables for serve command
...
Updates #2944
2024-03-06 13:48:46 -08:00