From b0d3e05817655a1e70ecb12aaefa1f9c26d221ce Mon Sep 17 00:00:00 2001 From: noflytm <61331881+noflytm@users.noreply.github.com> Date: Wed, 24 Sep 2025 22:55:12 +0200 Subject: [PATCH] Update ollama_file_ops_agent.ipynb since params not accepted by ollama options is correct one --- .../01-ollama-model/ollama_file_ops_agent.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01-tutorials/01-fundamentals/02-model-providers/01-ollama-model/ollama_file_ops_agent.ipynb b/01-tutorials/01-fundamentals/02-model-providers/01-ollama-model/ollama_file_ops_agent.ipynb index e949626a..2d9e3dc8 100644 --- a/01-tutorials/01-fundamentals/02-model-providers/01-ollama-model/ollama_file_ops_agent.ipynb +++ b/01-tutorials/01-fundamentals/02-model-providers/01-ollama-model/ollama_file_ops_agent.ipynb @@ -289,7 +289,7 @@ "ollama_model = OllamaModel(\n", " model_id=model_id,\n", " host=\"http://localhost:11434\",\n", - " params={\n", + " options={\n", " \"max_tokens\": 4096, # Adjust based on your model's capabilities\n", " \"temperature\": 0.7, # Lower for more deterministic responses, higher for more creative\n", " \"top_p\": 0.9, # Nucleus sampling parameter\n",