feat: add backend mode badge, conditional DeepThink based on model support

This commit is contained in:
jarves committed 2026-06-15 14:21:37 +00:00
1 parent e9c515e448
commit 523b791471
4 files changed
+41 -4

No files matched your search

+1
View File
@@ -2181,6 +2181,7 @@ async function startLlm(settings = {}) {
backendMode: backend.mode,
backendBinary: path.basename(backend.path),
enableThinking: settings.enableThinking !== false,
supportsThinking: /deepseek|qwen3|gemma-4|gemma4|think|r1|e2b|reasoning/i.test(filename),
};
let mmprojPath = null;