Local fork of continuedev/continue for auto-approve and full-access mode experiments
## Key Issues Fixed ### 1. Tool Output Matching Error - **Problem**: `compileChatMessages` only processed the last tool message, causing "no tool call found to match tool output" errors - **Solution**: Modified to collect and process all consecutive tool messages from the end - **Files**: `core/llm/countTokens.ts` - Enhanced tool message collection and validation logic ### 2. Claude API Missing tool_result Blocks - **Problem**: `flattenMessages` was merging adjacent tool messages, losing individual `toolCallId` properties - **Solution**: Prevented merging of tool messages to preserve unique `toolCallId` for each `tool_result` block - **Files**: `core/llm/messages.ts` - Added condition to prevent tool message merging ### 3. Token Counting for Parallel Tool Calls - **Problem**: Token counting only considered the last tool message - **Solution**: Added logic to count tokens for all tool messages in parallel scenarios - **Files**: `core/llm/countTokens.ts` - Enhanced token counting for multiple tool messages ## Test Coverage - Added comprehensive tests for parallel tool call scenarios - Tests verify correct message structure for Claude API format - All existing functionality preserved with backward compatibility 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .continue | ||
| .github | ||
| .idea | ||
| .vscode | ||
| binary | ||
| core | ||
| docs | ||
| eval | ||
| extensions | ||
| gui | ||
| manual-testing-sandbox | ||
| media | ||
| packages | ||
| scripts | ||
| sync | ||
| .continueignore | ||
| .eslintrc.shared.json | ||
| .gitignore | ||
| .node-version | ||
| .nvmrc | ||
| .prettierignore | ||
| .prettierrc | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| SECURITY.md | ||
| tsconfig.json | ||
Continue
Continue enables developers to create, share, and use custom AI code assistants with our open-source VS Code and JetBrains extensions and hub of models, rules, prompts, docs, and other building blocks
Agent
Agent enables you to make more substantial changes to your codebase
Chat
Chat makes it easy to ask for help from an LLM without needing to leave the IDE
Autocomplete
Autocomplete provides inline code suggestions as you type
Edit
Edit is a convenient way to modify code without leaving your current file
Getting Started
Learn about how to install and use Continue in the docs here
Contributing
Read the contributing guide, and join #contribute on Discord.




