mirror of
https://github.com/ollama/ollama.git
synced 2025-11-11 20:37:31 +01:00
output type parsed from modelfile (#678)
This commit is contained in:
@@ -831,7 +831,7 @@ func formatParams(params map[string][]string) (map[string]interface{}, error) {
|
||||
return nil, fmt.Errorf("invalid int value %s", vals)
|
||||
}
|
||||
|
||||
out[key] = int(intVal)
|
||||
out[key] = intVal
|
||||
case reflect.Bool:
|
||||
boolVal, err := strconv.ParseBool(vals[0])
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user