mirror of
https://github.com/ollama/ollama.git
synced 2026-08-04 14:56:15 +00:00
don't abort when an invalid model name is used in /save (#4416)
This commit is contained in:
parent
7607e6e902
commit
7ca71a6b0f
3 changed files with 8 additions and 2 deletions
|
|
@ -7,6 +7,7 @@ import (
|
|||
)
|
||||
|
||||
const UnknownOllamaKeyErrMsg = "unknown ollama key"
|
||||
const InvalidModelNameErrMsg = "invalid model name"
|
||||
|
||||
// TODO: This should have a structured response from the API
|
||||
type UnknownOllamaKey struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue