Compact bug

未關閉
#911 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
25/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
活躍
技術堆疊
vscode

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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

主要語言
沒有語言資料
星號
4k
分支
350
PR 合併指標
30 天內沒有已合併 PR

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CommandCodeAI/command-code 的其他 Issue

查看 CommandCodeAI/command-code 的全部 Issue

相似的 Issue

更多 AI Infra & Agents Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。