From 7fe8c02e1daf2e2e0199c13c72acefd7bb06046f Mon Sep 17 00:00:00 2001 From: ili16 Date: Mon, 25 Mar 2024 13:27:48 +0000 Subject: [PATCH] change model to 13b by default --- ollama/ollama.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ollama/ollama.go b/ollama/ollama.go index ed22c85..41a2e7f 100644 --- a/ollama/ollama.go +++ b/ollama/ollama.go @@ -47,11 +47,6 @@ func GenerateResponse(prompt map[string]interface{}) (weaviate.ResponseData, err completePrompt := instruct + " " + code - model, ok := prompt["model"].(string) - if !ok { - model = "codellama:34b-instruct" - } - var context int if len(completePrompt) < 2048 { context = 2048