continuedev / continuedev/continue
Error: Nex AGI: Nex-N2-Pro (free) - 400
Open
Nobody has claimed this yet.
area:integration
kind:bug
stale
- Dominant language
- TypeScript
- Stars
- 36k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Error Details
Model: Nex AGI: Nex-N2-Pro (free)
Provider: openrouter
Status Code: 400
Error Output
400 This endpoint's maximum context length is 262144 tokens. However, you requested about 264433 tokens (188 of text input, 2101 of tool input, 262144 in the output). Please reduce the length of either one, or use the context-compression plugin to compress your prompt automatically.
Additional Context
Please add any additional context about the error here
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Reproduce the request with Nex AGI: Nex-N2-Pro (free) through OpenRouter, then trace how the prompt and tool context reach the model and how context compression is selected. Done means the request no longer exceeds the provider's 262144-token limit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- ai, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100