mirror of
https://github.com/ollama/ollama
synced 2026-05-01 20:55:48 +00:00
This change fixes two issues with Modelfiles:
1. If a user uses `ollama show --modelfile` to show a safetensors based
model, the Model would leave the "FROM" field blank which won't allow
a user to recreate the model. This change adds the model's current
canonical short name to the FROM field.
2. If a user uses the `/save` command in the CLI any messages which were
saved in a previous model wouldn't get saved (only the set of messages
from the current session).
|
||
|---|---|---|
| .. | ||
| internal | ||
| auth.go | ||
| auth_test.go | ||
| cloud_proxy.go | ||
| cloud_proxy_test.go | ||
| create.go | ||
| create_test.go | ||
| download.go | ||
| fixblobs.go | ||
| fixblobs_test.go | ||
| images.go | ||
| images_test.go | ||
| inference_request_log.go | ||
| logprob.go | ||
| model.go | ||
| model_resolver.go | ||
| model_resolver_test.go | ||
| prompt.go | ||
| prompt_test.go | ||
| quantization.go | ||
| quantization_test.go | ||
| routes.go | ||
| routes_cloud_test.go | ||
| routes_create_test.go | ||
| routes_debug_test.go | ||
| routes_delete_test.go | ||
| routes_generate_renderer_test.go | ||
| routes_generate_test.go | ||
| routes_harmony_streaming_test.go | ||
| routes_list_test.go | ||
| routes_options_test.go | ||
| routes_request_log_test.go | ||
| routes_test.go | ||
| routes_web_experimental_test.go | ||
| sched.go | ||
| sched_test.go | ||
| sparse_common.go | ||
| sparse_windows.go | ||
| test_home_test.go | ||
| upload.go | ||