请教各位大佬关于aider配置,我这总是提示Empty response received from LLM.

我在自定义url时 一直提示
Empty response received from LLM. Check your provider account?
实在搞不定了。请教各位大佬应该怎么配置

已进行测试:

  1. 在服务器上 新装aider并测试该配置正常
  2. 本地是win11,不自定义newapi,仅使用deepseek的key时是正常
  3. 本地只要是自定义openai-api-base,就一直报这个错
  4. 本地的防火墙和杀毒软件都关了,系统是win11
  5. model 换过很多,openai/gpt-4o gpt-4o 等等 都试过 都不行
  6. 配置删除到只剩api key 和model的定义,也不行
  7. 使用系统变量配置,也不行
配置,站点和key隐掉了
openai-api-base: https://api.xxxxx.cn/v1
openai-api-key: sk-xxxxxxxxxxxxxxxxxxxxxxx
# editor: vi  
# cache-prompts: true 
model: openai/claude-3-7-sonnet-20250219 
architect: true 
editor-model: openai/claude-3-7-sonnet-20250219 
weak-model: openai/deepseek-chat 
# edit-format: diff 
editor-edit-format: editor-diff

不懂帮顶一下
可能这个有用?

谢谢老哥 站里面的都参考过了 。没用。。
挺头疼

你在本地用 cherry 之类的客户端连上 newapi 试试呢?

看起来像是本地和newapi之间连接有问题

也不是,,,

api 本地cherrystudio 和 chatbox 都正常用
我换了3,4个测试的、、

有个思路,你可以试试

用 reqable 分别抓 aider 和 cherry的请求,对比下发出去的请求头和请求结构

嗯 回头试试 谢谢佬

破案了。在/user/admin下 有一个其他用途的.env 定义了AI_API_BASE和AI_API_KEY
然后一直用的那个
最后是用reqable 侦破的。。。

这东西真的好用,用一次离不开了

此话题已在最后回复的 30 天后被自动关闭。不再允许新回复。