CommandCodeAI / CommandCodeAI/command-code

Repetitive/inefficient thinking

未关闭
#582 5 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
没有语言数据
星标
4k
派生
350
PR 合并指标
30 天内没有已合并 PR

描述

Summary

Is this repetitive/inefficient thinking a model issue or something else?
It's repeating the same thing, in different words, several times:

✻ Thought for 1 second
The user is asking how to add a new provider in CommandCode. This is a question about CommandCode's features and configuration, so I should use the get_command_code_knowledge tool to get accurate information.

✻ Thought for 1 second
The user is asking how to add a new provider in CommandCode. Let me search for more specific information about provider/model configuration.

✻ Thought for 1 second
The user is asking about adding a new provider in CommandCode. This is a question about CommandCode's features and configuration. Let me get the full knowledge document to find information about providers.

✻ Thought for 1 second
The user is asking how to add a new provider in CommandCode. Let me check the configuration settings to see if there's a way 
to add providers/models.

✻ Thought for 1 second 
The user is asking about adding a new provider in CommandCode. Looking at the information I've retrieved, I don't see a 
direct "providers" topic. However, I can see from the features that there's "Model Switching" with Alt+P. Let me search for 
more specific information about providers/models.

And in the end it gave an error:

Error: 500 500 Network connection lost. 

Type "continue" to try again. If the issue persists, contact support: https://commandcode.ai/discord 
Trace ID: c86f75943327f3817ec9950b6b4a724d
Expected Behavior

Do not repeat the same thing over and over again, spending tokens unnecessarily/inefficiently.

Actual Behavior

It repeats the same thing over and over again, spending tokens unnecessarily/inefficiently.

Steps to reproduce the issue

I think to reproduce this problem, you'd have to interact with the model(s) and observe their processing (Ctrl+O) to see if this behavior is repeated. I discovered it this time out of curiosity; I don't know if it's happened before, although I suspect it has.

Command Code Version

1.3.1

Operating System

Windows

Terminal/IDE

vscode

Shell

cmd.exe

Additional context

The model was Mimo v2.5Pro.

System: Windows x64 · vscode · cmd.exe · Node v22.17.1

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

未指定源文件或测试。首先在 Windows 的 VS Code 中使用 Mimo v2.5Pro 重现该行为,使用 Ctrl+O 观察处理过程,并记录在网络错误发生前是否重复了相同的推理。完成的标准是:agent 避免重复处理和 token 使用,同时不使已报告的错误处理发生回归。

由索引模型根据 Issue 内容生成。

评估

技术栈
node.js, vscode
领域
ai, cli
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。