Open MarvinKlar opened 1 week ago
Thanks for trying aider and filing this issue.
Sorry, what makes you concerned about this? Are you experiencing some specific problem?
I am currently trying Aider with an custom LLM proxy, which does not support sending a stream with Content-Type: application/json
. When using streaming, it requires/sends Content-Type: text/event-steam
.
This sounds like something you may need to work out with your custom proxy.
Aider uses litellm to connect to almost any LLM api. You can also check their docs.
Can you verify that LiteLLM is causing the error or does Aider manipulate the request in any way?
Issue
When Aider does sent a chat-completion request, it sends the
Accept
header with the valueapplication/json
, no matter ifstream
is set tofalse
ortrue
. It should actually betext/event-stream
forstream
=true
.Version and model info
Aider: 0.62.1 Model: any Prompt/Request: any