* 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>
- 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>
The function was incorrectly treating lines like '+++counter;' or '---counter;'
as diff file headers and skipping them. This happened when code containing
++ or -- operators at the start of a line was added or removed.
Fixed by checking that file header lines (--- a/file, +++ b/file) contain
a space after the --- or +++ prefix, distinguishing them from code changes.
Added test cases to verify the fix handles these edge cases correctly.
Co-authored-by: nate <nate@continue.dev>
Document that slash commands now submit on Enter (except /title) rather than requiring Tab first.
Generated with [Continue](https://continue.dev)
Co-Authored-By: Continue <noreply@continue.dev>
Co-authored-by: nate <nate@continue.dev>