* fix(cli): expand model capability detection to include Llama, Nemotron, and Mistral models
The isModelCapable function was showing false warnings for Llama, Nemotron,
and Mistral models, claiming they had "limited reasoning and tool calling
capabilities" when they actually have excellent capabilities.
**Changes:**
- Added /llama/, /nemotron/, /mistral/ patterns to capability detection regex
- Updated tests to reflect that these model families ARE capable
- All tests passing (26/26)
**Research validation:**
- Llama 3.3/Nemotron: #1 on alignment benchmarks, Arena Hard 85.0
- Mistral: 81.2% MMLU, supports function calling and JSON mode
- Both families widely used for agent workflows with proven tool calling
**Impact:**
- Removes false warnings for users of these popular model families
- Enables proper multiEdit tool usage for capable models
- Aligns detection with real-world model capabilities
Tested with nvidia/Llama-3_3-Nemotron-Super-49B-v1 on MITRE AIP endpoints.
Authored by: Aaron Lippold <lippold@gmail.com>
* fix: missing comma after grok
---------
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
The Dependabot update had some peer dependency mismatches that
caused npm ci to fail. Running npm install --package-lock-only
to regenerate the lock file with correct dependency resolution.
Co-authored-by: nate <nate@continue.dev>
Generated with [Continue](https://continue.dev)
Co-Authored-By: Continue <noreply@continue.dev>
- Add .js extension to import for ES modules compatibility
- Fix Windows UNC path test (file:// not file:///)
- Fix Windows path separator expectation (single backslash)
- Make Unix-only tests conditional on platform
- Handle platform-specific URI parsing differences
- Remove tautological test assertion
Addresses cubic code review feedback
Co-authored-by: nate <nate@continue.dev>
Address code review feedback:
1. Add fallback to use compacted history directly when ChatHistoryService
is unavailable (fixes P1 issue in handlePostToolValidation and
handleNormalAutoCompaction)
2. Prevent double-counting of system message tokens by checking if
system message is already in history before subtracting tokens
3. Remove tool output name from token count since it's not sent to model
This ensures compaction works correctly in headless contexts and provides
more accurate token estimation.
Co-authored-by: nate <nate@continue.dev>
Reorder imports to comply with ESLint import/order rules:
- Move vitest imports after core imports
- Add empty line between import groups
- Move services import before local imports
Co-authored-by: nate <nate@continue.dev>
Add required systemMessage parameter to all processStreamingResponse calls
in the test file to match the updated interface signature.
Co-authored-by: nate <nate@continue.dev>