Local fork of continuedev/continue for auto-approve and full-access mode experiments
* fix: respect contextLength from YAML model config Three fixes for contextLength not being respected: 1. Add contextLength to YAML model schema at the model level (not just inside defaultCompletionOptions), matching JSON config behavior 2. Read contextLength from both model-level and defaultCompletionOptions, with model-level taking precedence 3. Fix GUI selector fallback using DEFAULT_MAX_TOKENS (4096) instead of DEFAULT_CONTEXT_LENGTH (32768) Closes #4638 Closes #4304 * fix: reduce complexity in modelConfigToBaseLLM Replace find callbacks with includes() to offset complexity from contextLength nullish coalescing. * docs: document contextLength at model level in config.yaml reference * docs: consistently show contextLength in defaultCompletionOptions for YAML YAML examples use defaultCompletionOptions.contextLength, JSON examples use model-level contextLength. Also fixes ollama guide using the wrong key name (completionOptions -> defaultCompletionOptions). * refactor: extract env options into helper to reduce complexity Extract the repetitive env-to-options mapping from modelConfigToBaseLLM into a separate applyEnvOptions function, bringing complexity well under the limit of 36. |
||
|---|---|---|
| .claude/skills/docs-style | ||
| .continue | ||
| .github | ||
| .husky | ||
| .idea | ||
| .vscode | ||
| actions | ||
| binary | ||
| core | ||
| docs | ||
| eval | ||
| extensions | ||
| gui | ||
| manual-testing-sandbox | ||
| media | ||
| packages | ||
| scripts | ||
| skills | ||
| sync | ||
| .continueignore | ||
| .eslintrc.shared.json | ||
| .gitignore | ||
| .node-version | ||
| .nvmrc | ||
| .prettierignore | ||
| .prettierrc | ||
| CLA.md | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| SECURITY.md | ||
| tsconfig.json | ||
| worktree-config.yaml | ||
Continue
Getting started
Paste this into your coding agent of choice:
Help me write checks for this codebase: https://continue.dev/walkthrough
How it works
Continue runs agents on every pull request as GitHub status checks. Each agent is a markdown file in your repo at .continue/checks/. Green if the code looks good, red with a suggested diff if not. Here is an example that performs a security review:
---
name: Security Review
description: Review PR for basic security vulnerabilities
---
Review this PR and check that:
- No secrets or API keys are hardcoded
- All new API endpoints have input validation
- Error responses use the standard error format
Install CLI
AI checks are powered by the open-source Continue CLI (cn).
macOS / Linux:
curl -fsSL https://raw.githubusercontent.com/continuedev/continue/main/extensions/cli/scripts/install.sh | bash
Windows (PowerShell):
irm https://raw.githubusercontent.com/continuedev/continue/main/extensions/cli/scripts/install.ps1 | iex
Or with npm (requires Node.js 20+):
npm i -g @continuedev/cli
Then run:
cn
Looking for the VS Code extension? See here.
Contributing
Read the contributing guide, and join the GitHub Discussions.
