Compact bug
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- vscode
- Domain
- ai, cli, operating-systems
Research direction
The report names no files, tests, or Command Code version. Start by reproducing the context-length failure in the Windows and VSCode setup after a long session, then gather the missing version and session details. Done means the compaction or retry flow no longer exceeds the model's context limit and the behavior is covered by a regression test.
Written by the indexing model from the issue text.
Description
Summary
⚠ Error: 400 This model's maximum context length is 1048576 tokens. However, you requested 1049054 tokens (985054 in the messages, 64000 in the completion). Please reduce the
length of the messages or completi...
Type "continue" to try again. If the issue persists, contact support: https://commandcode.ai/discord
Trace ID: 30a6bb1d0b4d8bcf90b28f564ad5e5a2
◼ Conversation is already compact.
◼ Opening the /feedback GitHub issue in your browser…
✻ Worked for 3s
Expected Behavior
I do now know.
Actual Behavior
⚠ Error: 400 This model's maximum context length is 1048576 tokens. However, you requested 1049054 tokens (985054 in the messages, 64000 in the completion). Please reduce the
length of the messages or completi...
Type "continue" to try again. If the issue persists, contact support: https://commandcode.ai/discord
Trace ID: 30a6bb1d0b4d8bcf90b28f564ad5e5a2
◼ Conversation is already compact.
◼ Opening the /feedback GitHub issue in your browser…
✻ Worked for 3s
Steps to reproduce the issue
Working on coding stuff. Gave it docs to master and lot of chnages over 2 days time. It hit this error.
Command Code Version
Unknown
Operating System
Windows
Terminal/IDE
VSCode
Shell
cmd.exe
Session file (optional)
No response
Fix prompt (optional)
No response
Additional context
No response
- Dominant language
- No language data
- Stars
- 4k
- Forks
- 350
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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.
More from CommandCodeAI/command-code
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CommandCodeAI/command-code#903 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CommandCodeAI/command-code#855 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CommandCodeAI/command-code#841 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CommandCodeAI/command-code#655 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CommandCodeAI/command-code#608 ·
All issues in CommandCodeAI/command-code
Similar issues
-
ai-observability bug team/ai-observability
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
dair-ai/Prompt-Engineering-Guide#810 · 1 comment ·
-
[addtool] DeepZero Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
gwen001/offsectools_www#2055 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
UKGovernmentBEIS/inspect_evals#2503 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
google-gemma/gemma-skills#13 ·