Skip to content

Commit b6c1213

Browse files
authored
Merge pull request #3203 from Kilo-Org/revert-3185-christiaan/headers
Revert "Add missing header param"
2 parents e5adb77 + aeb8bf3 commit b6c1213

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"kilo-code": patch
3+
---
4+
5+
Fix Z.ai provider giving an Unauthorized error

src/api/providers/base-openai-compatible-provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export abstract class BaseOpenAiCompatibleProvider<ModelName extends string>
7070
defaultHeaders: DEFAULT_HEADERS,
7171
// kilocode_change start
7272
timeout: timeout,
73-
fetch: fetchWithTimeout(timeout, DEFAULT_HEADERS),
73+
fetch: fetchWithTimeout(timeout),
7474
// kilocode_change end
7575
})
7676
}

0 commit comments

Comments
 (0)