Local fork of continuedev/continue for auto-approve and full-access mode experiments
Find a file
shanevcantwell d80845c403
feat: add tool prompt override support in .continuerc.json (#9314)
* feat: add tool prompt overrides support in YAML model config

Adds per-model tool prompt overrides under chatOptions in YAML config:

```yaml
models:
  - name: my-model
    chatOptions:
      toolPromptOverrides:
        run_terminal_command:
          description: "Custom description"
        view_diff:
          disabled: true
```

This replaces the JSON-only implementation with YAML-only support as
requested by maintainers. The JSON implementation is preserved on the
`feature/tool-prompt-overrides-json` branch for reference.

Changes:
- Add toolOverrideSchema to chatOptionsSchema (packages/config-yaml)
- Add ToolOverride interface and toolPromptOverrides to LLMOptions (core)
- Store and apply overrides in BaseLLM.streamChat()
- Add applyToolOverrides utility with comprehensive tests

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* feat(cli): add tool prompt overrides support for CLI parity

Apply toolPromptOverrides from YAML model config in CLI,
ensuring feature parity with VS Code extension.

- Add applyChatCompletionToolOverrides helper for CLI tool format
- Apply overrides in streamChatResponse before LLM calls
- Support description changes and disabling tools
- Add unit tests for override logic

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* chore: package lock update

* ci: retrigger after hub 502

* refactor: rename toolPromptOverrides to toolOverrides

- Rename property across core, config-yaml, and CLI
- Consolidate ToolOverride type to extend ToolOverrideConfig from
  config-yaml instead of duplicating 7 fields
- Inline record-to-array conversion to match file patterns

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* chore: retrigger CI (clean run)

* chore: revert gui package-lock to main

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2026-02-02 21:55:21 -08:00
.continue fix: 🔥 Additional fixes based on commnets 2025-11-18 19:45:34 -08:00
.github Merge remote-tracking branch 'origin/main' into nate/simplify-docs 2026-01-30 18:29:04 -08:00
.husky feat: .continue/environment.json (#7983) 2025-09-25 16:30:56 -07:00
.idea fix: migrate to built-in inline completion API from 2024.1 (#6947) 2025-08-20 09:54:40 -07:00
.vscode vercel ai sdk, feature-flagged by env var 2025-12-10 00:46:22 +00:00
actions Replace community Discord links with GitHub Discussions 2026-01-30 17:19:56 -08:00
binary chore(deps-dev): bump lodash from 4.17.21 to 4.17.23 in /binary 2026-01-23 21:13:34 +00:00
core feat: add tool prompt override support in .continuerc.json (#9314) 2026-02-02 21:55:21 -08:00
docs Add frontmatter to example agent file 2026-01-31 00:57:21 -08:00
eval Preview (#1750) 2024-07-28 23:16:18 -07:00
extensions feat: add tool prompt override support in .continuerc.json (#9314) 2026-02-02 21:55:21 -08:00
gui fix: OpenAI Responses API parallel tool calls losing call_ids (#9659) 2026-02-02 21:45:48 -08:00
manual-testing-sandbox chore(deps): bump django from 4.2.22 to 4.2.27 in /manual-testing-sandbox (#8992) 2025-12-03 09:49:19 -08:00
media delete old gifs 2025-08-06 16:53:57 -07:00
packages feat: add tool prompt override support in .continuerc.json (#9314) 2026-02-02 21:55:21 -08:00
scripts Add script to analyze file hotspots from git history (#8591) 2025-11-04 11:55:36 -08:00
skills Fix defunct hub.continue.dev URLs to point to continue.dev 2026-02-02 01:56:19 -08:00
sync merkel 2024-10-23 10:29:15 +02:00
.continueignore ignore .continue folder 2025-03-08 16:18:51 -08:00
.eslintrc.shared.json add no misused promises rule 2025-06-13 22:09:32 +05:30
.gitignore Add worktree copy configuration and ignore copy status files 2025-12-10 20:01:59 -08:00
.node-version Update Node.js LTS to v20.19.0 2025-04-22 02:01:03 +08:00
.nvmrc Update Node.js LTS to v20.19.0 2025-04-22 02:01:03 +08:00
.prettierignore feat: husky for prettier (#7979) 2025-09-25 16:13:08 -07:00
.prettierrc remove border above input box 2024-11-05 08:18:31 -08:00
CLA.md fix: Return the CLA (#6585) 2025-07-16 02:01:42 -07:00
CODE_OF_CONDUCT.md npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}" --ignore-path . 2025-05-25 18:41:32 -07:00
CONTRIBUTING.md Replace community Discord links with GitHub Discussions 2026-01-30 17:19:56 -08:00
LICENSE Create LICENSE 2023-06-03 09:29:19 +02:00
package-lock.json chore(deps-dev): bump lodash from 4.17.21 to 4.17.23 2026-01-22 04:38:44 +00:00
package.json fix: Constrain root eslint to v8 to match core dependency 2025-12-05 17:15:29 -08:00
README.md Merge remote-tracking branch 'origin/main' into nate/simplify-docs 2026-01-30 18:29:04 -08:00
SECURITY.md Create SECURITY.md 2025-02-01 01:01:08 -08:00
tsconfig.json .continuerules 2024-12-15 09:30:56 -08:00
worktree-config.yaml Add worktree copy configuration and ignore copy status files 2025-12-10 20:01:59 -08:00

Continue logo

Continue

Ship faster with Continuous AI

The future of coding isn't writing more code. It's delegating the boring parts, so you can build the interesting stuff

Get started in Mission Control, CLI (Headless Mode), or CLI (TUI mode)

Quick Install

npm i -g @continuedev/cli
cn

Cloud Agents

Set workflows to run automatically on PR opens, schedules, or any event trigger

Cloud Agents

CLI Agents

Watch workflows execute in real-time and approve decisions step-by-step from your terminal

CLI Agents

IDE Agents

Trigger workflows from VS Code or JetBrains—let agents handle the refactoring while you keep coding

IDE Agents

Contributing

Read the contributing guide, and join the GitHub Discussions.

License

Apache 2.0 © 2023-2024 Continue Dev, Inc.