Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ pub struct LLMClient {
pub fn build_reqwest_client() -> reqwest::Client {
reqwest::Client::builder()
.no_proxy()
.http1_only()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The PR description's assumption that the Anthropic provider uses a separate client path and is unaffected is incorrect; AnthropicProvider in src/provider.rs (line 92) calls this build_reqwest_client() function. Consequently, this change forces HTTP/1.1 for Anthropic as well, which contradicts the stated test plan and indicates that this provider may not have been verified with the protocol change.

Comment thread
efecnc marked this conversation as resolved.
.build()
.expect("failed to build reqwest client")
}
Expand Down