mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-07 02:58:15 +00:00
- Add error detection for Anthropic "prompt is too long" errors - Implement automatic context reduction when token limits exceeded - Use conservative token buffering (15%) for small context windows (≤250k) - Add pre-request validation to catch token overages before API calls - Provide user feedback when automatic context reduction occurs - Add comprehensive tests for error handling scenarios Fixes #5816
9 lines
275 B
JavaScript
9 lines
275 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
var nextConfig = {
|
|
webpack: function (config) {
|
|
config.resolve.extensionAlias = { ".js": [".ts", ".tsx", ".js", ".jsx"] };
|
|
return config;
|
|
},
|
|
};
|
|
exports.default = nextConfig;
|