easy-llm-cli icon indicating copy to clipboard operation
easy-llm-cli copied to clipboard

安装之后似乎会影响gemini_cli

Open hb-0 opened this issue 5 months ago • 5 comments

What happened?

npm install -g easy-llm-cli安装之后,运行gemini_cli原版会提示: Failed to login. Message: Error creating contentGenerator: Unsupported authType: custom-llm-api 即使USE_CUSTOM_LLM配置为false,也一样。

What did you expect to happen?

不应该影响gemini_cli吧

Client information

$ gemini /about
# paste output here

Login information

No response

Anything else we need to know?

No response

hb-0 avatar Jul 22 '25 17:07 hb-0

+1 我也遇到了,把配置全部删了还会报。。。

proto1994 avatar Jul 24 '25 06:07 proto1994

配置文件目录是同一个吧 ~/.gemini

horizon0514 avatar Jul 25 '25 04:07 horizon0514

我是把这个项目卸载了,用npm uninstall 卸载了,然后打开之后,报错,直接按1 ,进入登录界面,重新登录一下,gemini cli就能用了

lirui20 avatar Jul 28 '25 06:07 lirui20

+1 我也遇到了,把配置全部删了还会报。。。

我是把这个项目卸载了,用npm uninstall 卸载了,然后打开之后,报错,直接按1 ,进入登录界面,重新登录一下,gemini cli就能用了

lirui20 avatar Jul 28 '25 06:07 lirui20

修改 ~/.gemini/settings.json

"selectedAuthType": "gemini-api-key"

palfans avatar Aug 09 '25 19:08 palfans