mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
After upgrading to 1.8.1, the ollama plugin cannot control whether LLM is think enabled or not #637
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JAVA-LW on GitHub (Sep 10, 2025).
Self Checks
Dify version
1.8.1
Plugin version
0.0.7
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
After upgrading dify to 1.8.1, I found that my ollama big model plugin couldn't control whether the model was thinking or not. I was using qwen 30B instead.
✔️ Error log
No response
@dosubot[bot] commented on GitHub (Sep 10, 2025):
The Ollama plugin v0.0.7 does support the 'think' parameter, which lets you control whether the model uses "thinking mode"—but after upgrading to Dify 1.8.1, you may lose control over this and other model settings due to breaking changes in credential management. Migrated Ollama models can end up referencing invalid credential IDs, making them unusable or uncontrollable even if the UI looks fine. Newly created Ollama models after the upgrade work as expected because their credentials are registered correctly details.
To restore control, manually check your database: make sure each Ollama model’s
credential_idin theprovider_modelstable matches a valid entry inprovider_model_credentials. If not, create a new credential entry and update the reference. Restart all related Docker containers (dify,plugin_daemon,ssrf_proxy) after making changes to clear any cache or backend state issues. Also, confirm your Ollama service is accessible from inside the Dify container and that your models are loaded in Ollama step-by-step.If you still can't control the LLM, try creating a new Ollama model in Dify—this should work and let you pass the 'think' parameter as intended. If problems persist, check backend logs for silent errors or credential issues.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
