mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 02:16:36 +02:00
make the modelfile path relative for ollama create
(#8380)
This commit is contained in:
parent
9446c2c902
commit
32bd37adf8
5 changed files with 155 additions and 25 deletions
|
@ -747,7 +747,7 @@ MESSAGE assistant Hi! How are you?
|
|||
t.Error(err)
|
||||
}
|
||||
|
||||
actual, err := p.CreateRequest()
|
||||
actual, err := p.CreateRequest("")
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
|
@ -816,7 +816,7 @@ func TestCreateRequestFiles(t *testing.T) {
|
|||
t.Error(err)
|
||||
}
|
||||
|
||||
actual, err := p.CreateRequest()
|
||||
actual, err := p.CreateRequest("")
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue