If your Ollama-backed smolagents agent worked on 1.4.1 and broke after upgrading to 1.5.0, do not debug your model config. 1.5.0 shipped a regression that broke Ollama support, fixed in PR #406. Upgrade to a release containing that fix and it should just work again.

_Source: gh:huggingface/smolagents#354 (Hugging Face smolagents)_