Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

remove modelfile context deprecated in v0.0.7 (#974)

Bruce MacDonaldb9dc87540171
diff --git a/server/images.go b/server/images.go
index 645bfca8b..45d4391d7 100644
--- a/server/images.go
+++ b/server/images.go
@@ -63,15 +63,11 @@ func (m *Model) Prompt(request api.GenerateRequest) (string, error) {
First bool
System string
Prompt string
-
- // deprecated: versions <= 0.0.7 used this to omit the system prompt
- Context []int
}
vars.First = len(request.Context) == 0
vars.Prompt = request.Prompt
- vars.Context = request.Context
if len(vars.Context) == 0 {
vars.System = m.System