Josh Yan
3958d82908
semver
2024-07-30 15:48:40 -07:00
Josh Yan
632237139e
nil check
2024-07-30 11:29:58 -07:00
Josh Yan
2f5497301f
use semver
2024-07-30 11:21:56 -07:00
Josh Yan
cf7344b221
close files
2024-07-29 15:05:40 -07:00
Josh Yan
3cd1c9baa9
refactor test
2024-07-29 14:57:37 -07:00
Josh Yan
e5f03af4d3
refactor test
2024-07-29 14:57:23 -07:00
Josh Yan
b669677be9
refactor test
2024-07-29 14:54:18 -07:00
Josh Yan
86a874fceb
fmt
2024-07-29 14:37:21 -07:00
Josh Yan
aaa1c08a5d
testing and FROM local version copy
2024-07-29 14:30:03 -07:00
Josh Yan
ab9dfbddea
OLLAMA version
2024-07-29 13:24:50 -07:00
Michael Yang
ec4c35fe99
Merge pull request #5512 from ollama/mxyng/detect-stop
...
autodetect stop parameters from template
2024-07-26 13:48:23 -07:00
Josh
e8b954c646
server: validate template ( #5734 )
...
add template validation to modelfile
2024-07-19 15:24:29 -07:00
Michael Yang
4a565cbf94
add chat and generate tests with mock runner
2024-07-16 09:39:31 -07:00
Michael Yang
ebc529cbb3
autodetect stop parameters from template
2024-07-12 16:01:23 -07:00
Michael Yang
57ec6901eb
revert embedded templates to use prompt/response
...
This reverts commit 19753c18c01183b4c974e36e89b0c7cbdcc3c38a.
for compat. messages will be added at a later date
2024-07-11 14:49:35 -07:00
Michael Yang
41be28096a
add system prompt to first legacy template
2024-07-10 17:03:08 -07:00
Michael Yang
fb6cbc02fb
update named templates
2024-07-05 16:29:32 -07:00
Patrick Devine
94618b2365
add OLLAMA_MODELS to envconfig ( #5029 )
2024-06-13 12:52:03 -07:00
Michael Yang
c16f8af911
fix: multiple templates when creating from model
...
multiple templates may appear in a model if a model is created from
another model that 1) has an autodetected template and 2) defines a
custom template
2024-06-12 13:35:49 -07:00
Michael Yang
030e765e76
fix create model when template detection errors
2024-06-07 10:51:35 -07:00
Michael Yang
d61ef8b954
update create handler to use model.Name
2024-06-04 13:28:25 -07:00
Michael Yang
c5e892cb3e
update tests
2024-05-14 14:56:31 -07:00