从昨晚一直强度用 gemini-cli 来优化我的一些功能, 表现还算不错. 现在这种新的模式,感觉有点爽. 今天早上兴冲冲就开机准备继续干.
结果就报错了:
✕ [API Error: Converting circular structure to JSON
--> starting at object with constructor 'TLSSocket'
| property '_httpMessage' -> object with constructor 'ClientRequest'
--- property 'socket' closes the circle]
搜了一下 github. 目前看起来只能等更新了.
![]() |
1
yanjieee PRO 前几天就这样了,我昨天还尝试更新了一下 gemini 居然还没更新。
|
2
peterswan 14 天前
这个更换用 api auth 好像可以解决
|
![]() |
3
highkay 14 天前
这个是配额用完了,触发了一个 telementry 的 bug ,github 上有 issue ,修好了还没合并,直接用 npx 安装 github 可以解决。这里正确的逻辑是切换到 2.5-flash 。
|
![]() |
4
MaybeRichard 13 天前
@highkay #3 怎么切换过去啊
|
![]() |
5
yeelone OP @MaybeRichard #4 gemini -m "gemini-2.5-flash"
|
![]() |
6
yeelone OP @highkay #3 我使用 flash 改代码,会提示另一个错误:✕ [API Error: request to https://cloudcode-pa.googleapis.com/v1internal:countTokens failed, reason: Client network socket
disconnected before secure TLS connection was established] . 但是简单的问答又正常.这个是什么错误知道么? |
![]() |
8
highkay 13 天前
官方已经修好了,直接更新 gemini-cli 就好了。
|