chore: generate

This commit is contained in:
opencode-agent[bot]
2026-06-13 18:11:18 +00:00
parent 3f174531b9
commit a6e3afe048
3 changed files with 26 additions and 17 deletions
+2 -1
View File
@@ -884,7 +884,8 @@ function custom(dep: CustomDep): Record<string, CustomLoader> {
// OAuth refresh + snowflake transformations in one place.
// For env/config/API-key tokens, the provider fetch applies snowflake
// transformations directly.
const useOAuthHandler = oauthToken !== undefined && envToken === undefined && apiKeyToken === undefined && configToken === undefined
const useOAuthHandler =
oauthToken !== undefined && envToken === undefined && apiKeyToken === undefined && configToken === undefined
if (!useOAuthHandler) {
options.fetch = async (url: RequestInfo | URL, init?: RequestInit) => {
if (init?.body && typeof init.body === "string") {