From d83f2bf35ef5fef45a5c807675a4cc5ed45ad043 Mon Sep 17 00:00:00 2001 From: cogwheel0 <172976095+cogwheel0@users.noreply.github.com> Date: Mon, 8 Sep 2025 13:58:28 +0530 Subject: [PATCH] fix: remove unnecessary reasoning params --- lib/core/services/api_service.dart | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/core/services/api_service.dart b/lib/core/services/api_service.dart index 6381274..14a3692 100644 --- a/lib/core/services/api_service.dart +++ b/lib/core/services/api_service.dart @@ -2733,14 +2733,7 @@ class ApiService { }; } - // Hint the server to emit reasoning details blocks when supported. - // This mirrors Open WebUI "reasoning_tags" behavior (default enabled). - // It allows the client to display a collapsible "Thinking" section. - data['params'] = { - 'reasoning_tags': true, - 'reasoning_effort': - 'medium', // Safe default; providers ignore if unsupported - }; + // No default reasoning parameters included; providers handle thinking UIs natively. // Add tool_ids if provided (Open-WebUI expects tool_ids as array of strings) if (toolIds != null && toolIds.isNotEmpty) {