[PR #13319] [MERGED] app: relay thinking false to server #19435

Closed
opened 2026-04-16 07:07:20 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13319
Author: @BruceMacD
Created: 12/3/2025
Status: Merged
Merged: 12/3/2025
Merged by: @BruceMacD

Base: mainHead: brucemacd/toggle-off-thinking


📝 Commits (1)

  • eb3b51b app: relay thinking false to server

📊 Changes

1 file changed (+2 additions, -4 deletions)

View changed files

📝 app/ui/app/src/api.ts (+2 -4)

📄 Description

This fixes a bug where disabling thinking on deepseek-v3.1 did not stop the model from thinking.

When thinking is not defined it should not be sent to the server since this will cause error responses in some cases where the model does not support thinking. However if it is defined as false it should still be sent.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/13319 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 12/3/2025 **Status:** ✅ Merged **Merged:** 12/3/2025 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `brucemacd/toggle-off-thinking` --- ### 📝 Commits (1) - [`eb3b51b`](https://github.com/ollama/ollama/commit/eb3b51b36df0213d803024fee5f95c318a6b5107) app: relay thinking false to server ### 📊 Changes **1 file changed** (+2 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `app/ui/app/src/api.ts` (+2 -4) </details> ### 📄 Description This fixes a bug where disabling thinking on deepseek-v3.1 did not stop the model from thinking. When thinking is not defined it should not be sent to the server since this will cause error responses in some cases where the model does not support thinking. However if it is defined as false it should still be sent. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-16 07:07:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#19435