Skip to content

Commit b7c0fbe

Browse files
authored
use primary_model instead of model for ollama config
Previously the ollama example in the readme specified the model with the key "model". This would cause openevolve to find an empty list of models. Changing the key to "primary_model" fixes it.
1 parent 80945ed commit b7c0fbe

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,8 @@ export OPENAI_API_KEY="your-gemini-api-key"
327327
# config.yaml
328328
llm:
329329
api_base: "http://localhost:11434/v1" # Ollama
330-
model: "codellama:7b"
330+
api_key: "ollama"
331+
primary_model: "codellama:7b"
331332
```
332333
333334
</details>

0 commit comments

Comments
 (0)