logo
59
171
WeChat Login

Codebuddy CLI 在云原生开发环境中无法正常登录/使用#2098

Resolved
created 2025-09-28
Edit

简单描述一下问题和重现方式

在云原生开发环境中,貌似是自动登录的? 不需要我手动登录就处于登录状态;
但是使用的时候,几乎永远都是 429 提示超过频率限制:

╭────────────────────────────────────────────────────╮
│ ✻ Welcome to CodeBuddy!                            │
│                                                    │
│   /help for help, /status for your current setup   │
│                                                    │
│   Working in /workspace                            │
╰────────────────────────────────────────────────────╯

 ※ Tips for getting started:
 1. Run /init to create a CODEBUDDY.md file with instructions for codebase.
 2. Press Esc twice to reset the input box.
 3. Shift + Enter to add a new line while typing.

> who are you
  ⎿ 429 Chat failed with error: 6004:usage exceeds frequency limit, but don't worry, your usage will reset at 2025-09-28 18:01:20 UTC+8, alternatively, you can switch to the other models to continue using it. 
    (d299ebdb4dbc45278b3f2949f3ed42b9)
  ⎿ Request completed unexpectedly. Please try again or contact support if the issue persists.

尝试 /logout /login 都没有反应(P.S. 我在我自己的电脑上可以正常的登录)

一个规避方法: 清空环境变量 ACC_PRODUCT_CONFIG 和 ACC_PRODUCT_CONFIG_V2 然后再启动cbc

ACC_PRODUCT_CONFIG= ACC_PRODUCT_CONFIG_V2= cbc

#2437 是不是同一个问题?

Creator

#2437 是不是同一个问题?

@samsong(AcidBunny)

这个问题已经久到我忘记我提过这样的问题。 根据我这段时间的长期测试, 这个问题单纯的是因为 CodeBuddy Code 的限额是跟 IP/MID 绑定的。 所以默认不登陆的情况下限额还剩多少就是完全随机的, 有的时候可以免费用很久,有的时候刚创建的环境就没办法使用。

你的 #2437 是 vscode 插件版本的提示,这个我这里也会有提示, 但是即使存在这个提示, 在我的环境中也不影响插件使用(更有可能的是我不怎么用这个插件了)。

我认为这个是 CodeBuddy/CodeBuddyCode 的限额和 CNB 这边没有沟通好。限额应该跟随 $CNB_BUILD_USER 走而不是跟随机器或者 IP 走。

Developer

暂时可以切换成 deepseek-v3 使用

Resolved ISSUE
Assignee
None yet
Label
一定是bug:待鉴定
Priority
None yet
Time period
-
Property
Add custom properties to record and label key information
Participant