Skip to content
Merged
Changes from all commits
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
3 changes: 1 addition & 2 deletions src/providers/openai/openai_request_builder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,7 @@ nlohmann::json OpenAIRequestBuilder::build_request_json(
httplib::Headers OpenAIRequestBuilder::build_headers(
const providers::ProviderConfig& config) {
httplib::Headers headers = {
{config.auth_header_name, config.auth_header_prefix + config.api_key},
{"Content-Type", "application/json"}};
{config.auth_header_name, config.auth_header_prefix + config.api_key}};

// Add any extra headers
for (const auto& [key, value] : config.extra_headers) {
Expand Down
Loading