Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

feat: Qwen 3.6 day-0 integration — agent, thinking, vision, discover

PurpleDoubleDca93252e6461
diff --git a/src-tauri/src/commands/remote.rs b/src-tauri/src/commands/remote.rs
index 8d7593d3..3d49629c 100644
--- a/src-tauri/src/commands/remote.rs
+++ b/src-tauri/src/commands/remote.rs
@@ -1236,7 +1236,7 @@ button{-webkit-appearance:none;appearance:none}
var CODEX_PROMPT = 'You are Codex, an autonomous coding agent inside Locally Uncensored. You execute coding tasks end-to-end by reading files, writing code, and running shell commands. You MUST use tools — never guess file contents.\n\nAUTONOMY CONTRACT (read carefully):\n- You are expected to COMPLETE multi-step tasks without the user prompting between steps.\n- NEVER say \"Now I will create X\" or \"Next I\'ll write Y\" as plain text and then stop. That is a FAILURE.\n- When your plan has N steps, execute ALL N steps in one session — each step as a concrete tool call.\n- The ONLY reasons to finish without calling another tool are: (a) the task is truly complete, or (b) you are stuck and need user input.\n\nWorkflow:\n1. Understand the task\n2. Explore (file_list, file_read, file_search)\n3. Plan changes\n4. Implement (file_write) — chain ALL writes without stopping\n5. Only THEN write a short summary of what you did\n\nRules:\n- Always read a file before modifying it\n- Chain tool calls: after each tool result, if there is another step left, IMMEDIATELY call the next tool\n- If a command fails, diagnose and retry — don\'t hand back to the user unless truly stuck\n- Be concise in text. All the work happens in tool calls.\n- Respond in the same language the user uses.';
// ── Thinking-compatible prefixes (parity with desktop) ──
- var THINKING_COMPATIBLE = ['qwq','deepseek-r1','qwen3','qwen3.5','qwen3-coder','gemma3','gemma4'];
+ var THINKING_COMPATIBLE = ['qwq','deepseek-r1','qwen3.6','qwen3','qwen3.5','qwen3-coder','gemma3','gemma4'];
// ── Plain-text planner models — Gemma 3/4 ──
// Bug fix parity with desktop entry #80: Gemma 3/4 with `think:false`
diff --git a/src/api/discover.ts b/src/api/discover.ts
index 240de066..7e9d93b1 100644
--- a/src/api/discover.ts
+++ b/src/api/discover.ts
@@ -424,6 +424,8 @@ export function getMainstreamTextModels(): DiscoverModel[] {
{ name: 'Gemma 4 26B MoE', description: 'Gemma 4 26B MoE — 26B brain, runs like 4B. Tools + vision. Apache 2.0.', pulls: '100K+', tags: ['26B', 'Q4_K_XL', '16 GB'], updated: 'Hot', agent: true, released: '2026-04', downloadUrl: HF('unsloth/gemma-4-26B-A4B-it-GGUF', 'gemma-4-26B-A4B-it-UD-Q4_K_XL.gguf'), filename: 'gemma-4-26B-A4B-it-UD-Q4_K_XL.gguf', sizeGB: 16 },
{ name: 'Gemma 4 E4B', description: 'Gemma 4 E4B — lightweight 4.5B, great for small GPUs.', pulls: '100K+', tags: ['4.5B', 'Q4_K_M', '5 GB'], updated: 'Hot', released: '2026-04', downloadUrl: HF('unsloth/gemma-4-E4B-it-GGUF', 'gemma-4-E4B-it-Q4_K_M.gguf'), filename: 'gemma-4-E4B-it-Q4_K_M.gguf', sizeGB: 5 },
{ name: 'Gemma 4 E2B', description: 'Gemma 4 E2B — ultra-light 2.3B, runs on anything.', pulls: '100K+', tags: ['2.3B', 'Q4_K_M', '3 GB'], updated: 'New', released: '2026-04', downloadUrl: HF('unsloth/gemma-4-E2B-it-GGUF', 'gemma-4-E2B-it-Q4_K_M.gguf'), filename: 'gemma-4-E2B-it-Q4_K_M.gguf', sizeGB: 3 },
+ // ── Qwen 3.6 (April 2026) ──
+ { name: 'Qwen 3.6 35B MoE', description: 'Qwen 3.6 — 35B MoE (3B active), vision + agentic coding + thinking preservation. 256K context. Use: ollama pull qwen3.6', pulls: 'New', tags: ['35B MoE', 'Vision', '24 GB'], updated: 'Hot', agent: true, released: '2026-04', url: 'https://ollama.com/library/qwen3.6', canPull: false, sizeGB: 24 },
// ── Qwen 3.5 (March 2026) ──
{ name: 'Qwen 3.5 35B MoE', description: 'Qwen 3.5 35B MoE — best agentic, 256K context. SWE-bench leader.', pulls: '100K+', tags: ['35B', 'Q4_K_M', '21 GB'], updated: 'Hot', agent: true, released: '2026-03', downloadUrl: HF('unsloth/Qwen3.5-35B-A3B-GGUF', 'Qwen3.5-35B-A3B-Q4_K_M.gguf'), filename: 'Qwen3.5-35B-A3B-Q4_K_M.gguf', sizeGB: 21 },
{ name: 'Qwen 3.5 27B', description: 'Qwen 3.5 27B dense — strongest reasoning + coding.', pulls: '100K+', tags: ['27B', 'Q4_K_M', '16 GB'], updated: 'Hot', agent: true, released: '2026-03', downloadUrl: HF('unsloth/Qwen3.5-27B-GGUF', 'Qwen3.5-27B-Q4_K_M.gguf'), filename: 'Qwen3.5-27B-Q4_K_M.gguf', sizeGB: 16 },
diff --git a/src/lib/model-compatibility.ts b/src/lib/model-compatibility.ts
index 48381e12..300f4732 100644
--- a/src/lib/model-compatibility.ts
+++ b/src/lib/model-compatibility.ts
@@ -12,7 +12,7 @@ const AGENT_COMPATIBLE = [
// ── Hermes: THE uncensored agent model ──
'hermes3', 'hermes-3', 'hermes',
// ── Standard models with native tool calling ──
- 'qwen3-coder-next', 'qwen3-coder', 'qwen3', 'qwen2.5',
+ 'qwen3.6', 'qwen3-coder-next', 'qwen3-coder', 'qwen3', 'qwen2.5',
'llama3.1', 'llama3.2', 'llama3.3', 'llama4',
'mistral', 'mistral-nemo', 'mistral-small', 'mistral-large',
'command-r',
@@ -58,6 +58,7 @@ export const hasNativeToolCalling = isAgentCompatible
const THINKING_COMPATIBLE = [
'qwq',
'deepseek-r1',
+ 'qwen3.6', // Qwen 3.6 — thinking preservation
'qwen3', // Qwen 3.x has native thinking
'qwen3.5',
'qwen3-coder',
@@ -107,6 +108,7 @@ export function isPlainTextPlanner(modelName: string | null): boolean {
*/
const CLAUDE_CODE_COMPATIBLE = [
'glm5', 'glm-5', 'glm4.7', 'glm-4.7',
+ 'qwen3.6',
'qwen3.5-coder', 'qwen3-coder',
'qwen3.5', 'qwen3',
'hermes3', 'hermes-3', 'hermes',
@@ -152,6 +154,7 @@ export interface RecommendedModel {
export function getRecommendedAgentModels(): RecommendedModel[] {
return [
// Local — HOT picks
+ { name: 'qwen3.6:latest', label: 'Qwen 3.6 35B MoE', reason: '35B brain, 3B active. Vision + agentic coding + thinking. Brand new.', hot: true, provider: 'ollama' },
{ name: 'qwen3.5:35b-a3b', label: 'Qwen 3.5 35B MoE', reason: '35B brain, 3B active. Best agentic + 256K context. SWE-bench leader.', hot: true, provider: 'ollama' },
{ name: 'gemma4:26b', label: 'Gemma 4 26B MoE', reason: '26B brain, runs like 4B. Native tools + vision. Apache 2.0.', hot: true, provider: 'ollama' },
{ name: 'qwen3-coder:30b', label: 'Qwen3-Coder 30B MoE', reason: 'Built for code + agentic workflows. 256K context.', hot: true, provider: 'ollama' },