refactor(ai): pass provider query params through without copying (#54167)

This commit is contained in:
Aiden Cline
2026-10-09 11:29:23 -05:00
committed by GitHub
Unverified
parent 5cfe3b4271
commit 229b422bd6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ const config = ({
headers,
http: body === undefined ? undefined : { body },
providerOptions,
queryParams: queryParams === undefined ? undefined : { ...queryParams },
queryParams,
useDeploymentBasedUrls,
}
if (baseURL !== undefined) return { ...common, baseURL }
+1 -1
View File
@@ -154,7 +154,7 @@ const config = ({
headers: Object.keys(headers).length === 0 ? undefined : headers,
http: body === undefined ? undefined : { body },
providerOptions,
queryParams: queryParams === undefined ? undefined : { ...queryParams },
queryParams,
}
}