Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
marikaner committed Aug 27, 2024
1 parent ca73b74 commit e5d07b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/gen-ai-hub/src/client/openai/openai-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ function mergeRequestConfig(
): HttpRequestConfig {
return {
method: 'POST',
...requestConfig,
headers: mergeIgnoreCase(
{
'content-type': 'application/json'
Expand All @@ -114,7 +115,6 @@ function mergeRequestConfig(
params: mergeIgnoreCase(
{ 'api-version': apiVersion },
requestConfig?.params
),
...requestConfig
)
};
}

0 comments on commit e5d07b3

Please sign in to comment.