Skip to content

莫名返回余额不足 #5

Description

@Reyi2323

使用go:key为key调用,openai格式作为渠道绑定在new api上
刚好opencode上k3了我玩一玩,结果偶尔会出现如下情况
$ grep -n -i -B2 -A2 "esc|abort|interrupt|cancel" D:/pi/docs/keybindings.md | head -40
... (37 earlier lines, ctrl+o to expand)

77-| tui.select.pageDown | pageDown | Page down in list |
78-| tui.select.confirm | enter | Confirm selection |
79:| tui.select.cancel | escape, ctrl+c | Cancel selection |
80-
Took 2.4s
已放行:bash
Error: 401: {"message":"Insufficient balance. Manage your billing here:
https://.ai///","type":"CreditsError","param":"","code":null}
继续
Error: 401: {"message":"Insufficient balance. Manage your billing here:
https://.ai///","type":"CreditsError","param":"","code":null}
继续
The user says "继续" (continue). I was in the middle of:

  1. Finding the abort keybinding in pi docs — I got partial results. I need to find the agent interruption keybinding specifically. The grep
    showed select cancel is escape/ctrl+c, but I need the "abort agent response" keybinding. Let me search more specifically.
  2. Modifying the interception logic to ask the main model instead of the user.

Let me search the keybindings doc for the agent abort/interrupt binding more thoroughly.
莫名的余额不足,然后重试又能好
之前我用的是glm5.2也有类似的情况,只不过报错是error: stream 错误什么什么的,也是偶尔出现,重试又好了

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions