chatblade icon indicating copy to clipboard operation
chatblade copied to clipboard

Support for thinking in ollama models like granite3.2

Open Eloitor opened this issue 10 months ago • 0 comments

It would be nice if it was possible to enable thinking with ollama granite3.2 https://ollama.com/gabegoodhart/granite3.2-preview

Generation: To enable thinking, add a message with "role": "control" and set "content" to "thinking". For example:

{
    "messages": [
        {"role": "control", "content": "thinking"},
        {"role": "user", "content": "How do I get to the airport if my car won't start?"}
    ]
}

Eloitor avatar Feb 18 '25 21:02 Eloitor