continue-custom/core
Varun Chawla 71d355ec44 fix: normalize hyphenated model IDs for LM Studio tool support
LM Studio uses hyphenated model identifiers (e.g., "Meta-Llama-3.1-8B-Instruct-GGUF"),
but the Ollama heuristic checks for non-hyphenated patterns like "llama3.1".

This fix normalizes hyphenated model names by removing hyphens before delegating to
Ollama's tool support logic, enabling agent mode for LM Studio models with hyphenated IDs.

Added comprehensive tests for hyphenated model names including:
- Meta-Llama-3.1-8B-Instruct-GGUF
- Qwen2-7B-Instruct
- Mixtral-8x7B-Instruct-v0.1
- Case insensitivity checks
- Negative tests for unsupported models like "Llama-Vision-Free"

Addresses feedback from Cubic AI bot review.
2026-02-07 20:12:08 -08:00
..
.vscode
__mocks__/@continuedev/fetch llm pre-fetch tests: nested dependency mocks for continue fetch 2025-06-06 17:39:28 -07:00
autocomplete Merge pull request #8367 from Ayyanaruto/f/optimize-autocompletelru-cache 2025-11-18 18:26:45 -08:00
codeRenderer feat: next edit char-level diff (#7776) 2025-09-19 00:25:33 -07:00
commands chore: mcp 1.24.0 (#8974) 2025-12-04 12:58:28 -08:00
config feat: limited MCP App support (#10132) 2026-02-05 19:07:44 -08:00
context feat: limited MCP App support (#10132) 2026-02-05 19:07:44 -08:00
continueServer remove legacy config.js 2025-01-24 20:45:07 -08:00
control-plane chore: hub.continue.dev -> continue.dev 2026-01-30 15:47:00 -08:00
data fix types 2025-08-13 22:12:33 -07:00
deploy
diff refactor: remove unused code 2025-07-28 17:10:45 -07:00
edit fix tests 2025-12-04 18:36:15 +05:30
indexing Test fix. 2025-12-11 03:16:59 +07:00
llm fix: normalize hyphenated model IDs for LM Studio tool support 2026-02-07 20:12:08 -08:00
nextEdit add current file path to prompt 2025-12-04 12:37:53 -08:00
promptFiles fix: show md rules and prompts in respective sections (#8178) 2025-10-27 15:25:03 -07:00
protocol feat: limited MCP App support (#10132) 2026-02-05 19:07:44 -08:00
tag-qry
test Fix: Refactor dependency injection for settings and clients 2025-09-03 09:15:47 -04:00
tools feat: limited MCP App support (#10132) 2026-02-05 19:07:44 -08:00
util Merge pull request #9524 from uinstinct/history-counter 2026-02-02 12:13:43 -08:00
utils prettier and code cleanup 2025-07-13 14:47:54 -07:00
vendor fix: upgrade @huggingface/jinja from 0.1.3 to 0.5.3 2026-01-24 07:46:52 +00:00
.eslintrc.json chore: ignore max-lines-per-function in tests (#6825) 2025-07-28 09:04:13 -07:00
.gitignore feat: implement Sentry error tracking with privacy-first anonymization (#6881) 2025-08-14 16:54:21 -07:00
.npmignore
core.ts verify that deleted filepath is a rules file 2026-01-19 19:48:07 +05:30
index.d.ts feat: limited MCP App support (#10132) 2026-02-05 19:07:44 -08:00
jest.config.js Reapply "feat: enhance oneper utility and refactor build system for commit SHA versioning" (#6811) 2025-07-28 14:15:49 -07:00
package-lock.json feat: limited MCP App support (#10132) 2026-02-05 19:07:44 -08:00
package.json feat: limited MCP App support (#10132) 2026-02-05 19:07:44 -08:00
rules.md new rules 2025-06-20 16:06:03 -07:00
tsconfig.json feat: implement Sentry error tracking with privacy-first anonymization (#6881) 2025-08-14 16:54:21 -07:00
tsconfig.npm.json
vitest.config.ts test only .vitest.ts files 2025-06-17 10:28:02 +05:30