Roo-Code/apps/web-evals
Roo Code a6738ab5ad fix: handle "prompt is too long" errors automatically
- 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
2025-07-17 14:57:34 +00:00
..
public Move evals into pnpm workspace, switch from SQLite to Postgres (#4278) 2025-06-03 01:38:08 -07:00
scripts Improve Docker setup for evals (#4327) 2025-06-05 12:16:36 -07:00
src fix: handle "prompt is too long" errors automatically 2025-07-17 14:57:34 +00:00
.env Move evals into pnpm workspace, switch from SQLite to Postgres (#4278) 2025-06-03 01:38:08 -07:00
.gitignore Move evals into pnpm workspace, switch from SQLite to Postgres (#4278) 2025-06-03 01:38:08 -07:00
components.json Move evals into pnpm workspace, switch from SQLite to Postgres (#4278) 2025-06-03 01:38:08 -07:00
eslint.config.mjs Move evals into pnpm workspace, switch from SQLite to Postgres (#4278) 2025-06-03 01:38:08 -07:00
next-env.d.ts Move evals into pnpm workspace, switch from SQLite to Postgres (#4278) 2025-06-03 01:38:08 -07:00
next.config.js fix: handle "prompt is too long" errors automatically 2025-07-17 14:57:34 +00:00
next.config.ts Improve turbo task dependency declarations (#4323) 2025-06-04 09:32:27 -07:00
package.json Fix roocode.com Vercel preview on PR open (#4916) 2025-06-19 20:00:11 -07:00
postcss.config.mjs Move evals into pnpm workspace, switch from SQLite to Postgres (#4278) 2025-06-03 01:38:08 -07:00
tsconfig.json Improve Docker setup for evals (#4327) 2025-06-05 12:16:36 -07:00
turbo.json Improve turbo task dependency declarations (#4323) 2025-06-04 09:32:27 -07:00
vitest.config.js fix: handle "prompt is too long" errors automatically 2025-07-17 14:57:34 +00:00
vitest.config.ts Convert jest tests to vitest and disable default watch mode for vitest (#4568) 2025-06-11 14:48:01 -07:00