File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import { convertToZAiFormat } from "../transform/zai-format"
1616
1717import type { ApiHandlerCreateMessageMetadata } from "../index"
1818import { BaseOpenAiCompatibleProvider } from "./base-openai-compatible-provider"
19- import { DEFAULT_HEADERS } from "./constants"
2019
2120// Custom interface for Z.ai params to support thinking mode
2221type ZAiChatCompletionParams = OpenAI . Chat . ChatCompletionCreateParamsStreaming & {
@@ -109,12 +108,6 @@ export class ZAiHandler extends BaseOpenAiCompatibleProvider<string> {
109108 } ) ,
110109 }
111110
112- // DEBUG: Log raw API request for z.ai (temporary debug measure)
113- console . log ( "[Z.ai DEBUG] Raw API Request:" )
114- console . log ( "[Z.ai DEBUG] Base URL:" , this . baseURL )
115- console . log ( "[Z.ai DEBUG] Headers:" , DEFAULT_HEADERS )
116- console . log ( "[Z.ai DEBUG] Request Params:" , params )
117-
118111 return this . client . chat . completions . create ( params )
119112 }
120113}
You can’t perform that action at this time.
0 commit comments