Conversation
…eepSeek R1) - Add buildWorkspaceContent() to system-prompt.mjs: reads key project files (README, package.json, entry points, etc.) up to 64KB total and formats them as readable blocks for injection into thinking-model prompts - Add buildThinkingModelSystemPrompt() to system-prompt.mjs: creates a thinking-model-specific system prompt that tells the model it has a workspace snapshot available and NOT to say it cannot see project files - Update callNvidia() in agent-loop.mjs to use both new functions instead of the old file-tree-only injection - Update vscode-extension/README.md and root README.md to document the enhanced workspace snapshot behavior Agent-Logs-Url: https://github.com/codomium/CODE/sessions/75639e0f-6630-492c-9cd8-7769a1ebcbe6 Co-authored-by: codomium <255525663+codomium@users.noreply.github.com>
…Content Agent-Logs-Url: https://github.com/codomium/CODE/sessions/75639e0f-6630-492c-9cd8-7769a1ebcbe6 Co-authored-by: codomium <255525663+codomium@users.noreply.github.com>
…ull tool calling by default By default Kimi K2.5 and DeepSeek R1 now work with all 25+ tools (Read, Write, Bash, Grep, etc.) exactly like Cursor/opencode. Thinking/reasoning mode is opt-in via NVIDIA_THINKING_MODE=true env var or the new openClaudeCode.nvidiaThinkingMode VSCode setting (default: false). - Rename NVIDIA_THINKING_MODELS → NVIDIA_THINKING_CAPABLE_MODELS; gate supportsThinking on process.env.NVIDIA_THINKING_MODE === 'true' - Add openClaudeCode.nvidiaThinkingMode boolean setting in package.json - Pass NVIDIA_THINKING_MODE env var from extension.js to agent bridge - Update model descriptions in package.json to reflect tool-calling default - Update both READMEs with mode comparison table and updated behavior docs Agent-Logs-Url: https://github.com/codomium/CODE/sessions/67a25766-01db-4fcc-b0be-87988bdc6ac2 Co-authored-by: codomium <255525663+codomium@users.noreply.github.com>
Agent-Logs-Url: https://github.com/codomium/CODE/sessions/67a25766-01db-4fcc-b0be-87988bdc6ac2 Co-authored-by: codomium <255525663+codomium@users.noreply.github.com>
Adds a pill toggle switch directly in the chat controls bar that: - Only appears when moonshotai/kimi-k2.5 or deepseek-ai/deepseek-r1 is selected - Turns accent-colored when active so the user always knows the mode - On change: saves openClaudeCode.nvidiaThinkingMode to workspace config and restarts the agent bridge so NVIDIA_THINKING_MODE env var is re-read - State is restored on panel open / reload via the initialized message - Model change also syncs toggle visibility automatically Agent-Logs-Url: https://github.com/codomium/CODE/sessions/a4c71128-d85e-4a7d-b72f-b661759b9b70 Co-authored-by: codomium <255525663+codomium@users.noreply.github.com>
… numbers Agent-Logs-Url: https://github.com/codomium/CODE/sessions/a4c71128-d85e-4a7d-b72f-b661759b9b70 Co-authored-by: codomium <255525663+codomium@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
codomium
April 17, 2026 21:11
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Kimi K2.5 and DeepSeek R1 were hardcoded to always use
chat_template_kwargs: {thinking: true}, which causes NVIDIA NIM to reject anytoolsarray (HTTP 400) — permanently disabling grep, bash, read, write, and all other agent tools for these models. Other IDEs (opencode, etc.) use the same API with full tool calling because they don't force thinking mode. This PR makes thinking mode opt-in and adds a live toggle in the chat UI.Core behavior change (
v2/src/core/agent-loop.mjs)supportsThinkingis now gated on an env var instead of model name alone:In-panel toggle (
media/chat.html / chat.js / chat.css)💭 Thinkinglabel + pill toggle appended to the controls bar, only visible when Kimi K2.5 or DeepSeek R1 is selected{ type: 'thinkingMode', enabled }to the extension; bridge restarts automatically so the new env var is picked upinitializedmessageExtension wiring (
extension.js)thinkingModemessage handler: persistsnvidiaThinkingModeto workspace config and disposes the bridgeinitializedpayload now includesthinkingModebooleanNVIDIA_THINKING_MODEenv var passed to bridge subprocess from config valueMode comparison