continue-custom/extensions/cli/src
Aaron Lippold 528a8abceb
fix(cli): expand model capability detection to include Llama, Nemotron, and Mistral (#8845)
* 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>
2025-12-05 12:14:00 -08:00
..
__mocks__ fix: linting etc. 2025-11-17 19:19:49 -08:00
__tests__ fix linting 2025-08-24 14:30:31 -07:00
auth fix: tests for windows 2025-12-04 12:07:44 -08:00
commands Merge pull request #8838 from continuedev/nate/agent-metadata-tracking 2025-11-30 18:00:27 -08:00
constants fix: linting and address feedback 2025-08-27 21:42:39 -07:00
e2e Merge pull request #8691 from chezsmithy/feat-ttyless-cli 2025-11-25 20:02:36 -08:00
environment feat: handle environment.json file in cn serve (#7984) 2025-09-25 17:12:55 -07:00
flags fix: graceful exit instead of process.exit(1) in cli 2025-09-12 14:51:19 -07:00
hooks fix: cubic feedback for workflow files 2025-10-04 14:45:49 -07:00
integration Merge branch 'main' of https://github.com/continuedev/continue into dallin/agent-md-files 2025-11-18 17:18:27 -08:00
permissions fix(cli): exclude ask first tools in headless (#8416) 2025-10-23 19:12:47 -07:00
services feat(mcp): add Supabase-specific OAuth scopes to mcp-remote fallback 2025-12-01 08:31:37 -08:00
stream add a test 2025-12-01 16:10:13 -08:00
telemetry revert a comment 2025-12-04 18:26:42 +05:30
test-helpers feat: ✨ Remove TTY requirement for the cli in headless mode 2025-11-18 19:45:15 -08:00
tools Increase terminal command timeout from 30s to 120s 2025-12-02 18:32:16 -08:00
ui Merge pull request #8928 from uinstinct/cli-single-submit 2025-12-05 09:51:37 -08:00
util Fix compaction and token counting issues from Cubic review 2025-12-01 23:03:38 +00:00
utils fix(cli): expand model capability detection to include Llama, Nemotron, and Mistral (#8845) 2025-12-05 12:14:00 -08:00
args.test.ts fix: include auth for loading packages (#8230) 2025-10-13 23:04:41 -07:00
asciiArt.test.ts Remove beta text from CLI intro message 2025-11-06 06:52:42 +00:00
asciiArt.ts Remove beta text from CLI intro message 2025-11-06 06:52:42 +00:00
CLIPlatformClient.ts fix: fall back to env vars 2025-11-26 11:03:28 -08:00
compaction.infiniteLoop.test.ts Improve system message token accounting in compaction and context validation 2025-12-01 14:25:50 -08:00
compaction.pruneLastMessage.test.ts fix: types, imports, and formatting 2025-08-27 21:32:23 -07:00
compaction.test.ts Improve system message token accounting in compaction and context validation 2025-12-01 14:25:50 -08:00
compaction.ts Fix compaction and token counting issues from Cubic review 2025-12-01 23:03:38 +00:00
config.test.ts chore: run prettier --write on cli 2025-08-20 17:57:35 -07:00
config.ts Add x-continue-unique-id header to LLM requests and normalize header casing (#8589) 2025-11-04 12:05:37 -08:00
configLoader.ts fix: default-cli-config 2025-11-20 12:33:17 -08:00
continueSDK.ts Add 'extensions/cli/' from commit 'e27a5c87d520e28844c9eac10bc6d301feee4b5e' 2025-08-20 17:19:56 -07:00
env.ts Add 'extensions/cli/' from commit 'e27a5c87d520e28844c9eac10bc6d301feee4b5e' 2025-08-20 17:19:56 -07:00
fileTools.ts Add 'extensions/cli/' from commit 'e27a5c87d520e28844c9eac10bc6d301feee4b5e' 2025-08-20 17:19:56 -07:00
freeTrialTransition.test.ts fix: ant expected key format 2025-08-22 07:53:52 -07:00
freeTrialTransition.ts set file permissions using chmod 2025-10-15 18:05:24 +05:30
hubLoader.test.ts fix: include auth for loading packages (#8230) 2025-10-13 23:04:41 -07:00
hubLoader.ts fix: cubic comments and injected block inputs unrolling 2025-10-15 15:10:54 -07:00
index.ts fix: lint 2025-11-26 12:31:01 -08:00
infoScreen.ts feat: continue oauth for cli mcps 2025-11-17 15:50:51 -08:00
init.ts feat: isHeadless and isGitHubCI on cli OTel 2025-09-09 17:15:26 -07:00
loadMcpFromHub.test.ts fix: tests and remove parsed args 2025-10-02 16:37:46 -07:00
logger.ts Add 'extensions/cli/' from commit 'e27a5c87d520e28844c9eac10bc6d301feee4b5e' 2025-08-20 17:19:56 -07:00
logging.test.ts chore: run prettier --write on cli 2025-08-20 17:57:35 -07:00
logging.ts Add 'extensions/cli/' from commit 'e27a5c87d520e28844c9eac10bc6d301feee4b5e' 2025-08-20 17:19:56 -07:00
mcp-flag.integration.test.ts fix: tests and remove parsed args 2025-10-02 16:37:46 -07:00
messageConversion.test.ts fix: types, imports, and formatting 2025-08-27 21:32:23 -07:00
onboarding.test.ts fix: mcp agent policies and deduplicate blocks when merging unrolled assistants (#8376) 2025-10-22 14:41:41 -07:00
onboarding.ts Merge branch 'main' of https://github.com/continuedev/continue into dallin/agent-file-model-fixes 2025-10-15 19:03:40 -07:00
sentry-profiling.ts build with esbuild 2025-08-21 16:44:39 -07:00
sentry.ts feat: report failure tool (#8694) 2025-11-13 18:48:48 -08:00
session.test.ts fix: remove unused SessionManager import in session.test.ts 2025-10-24 06:50:41 -07:00
session.ts Make account level MCPs generally available (#8493) 2025-10-31 11:52:08 -07:00
shared-options.ts fix: shared options 2025-10-13 20:07:33 -07:00
slashCommands.info.test.ts fix: linting etc. 2025-11-17 19:19:49 -08:00
slashCommands.modes.test.ts chore: run prettier --write on cli 2025-08-20 17:57:35 -07:00
slashCommands.remote.test.ts feat: show remote sessions in cn ls (#7694) 2025-09-19 22:44:26 -07:00
slashCommands.test.ts fix: linting etc. 2025-11-17 19:19:49 -08:00
slashCommands.ts feat: continue oauth for cli mcps 2025-11-17 15:50:51 -08:00
systemMessage.test.ts fix: circular import 2025-10-03 18:21:29 -07:00
systemMessage.ts fix: plan mode system message should ask user to switch mode 2025-11-19 19:22:29 +05:30
version.ts fix: address feedback 2025-09-15 18:04:43 -07:00