Skip to content

Commit 4c04083

Browse files
authored
Merge pull request #18 from tanzhenxin/fix/api_error_500
fix: remove stream property from DashScopeTransformer class
2 parents 12f3175 + afe26f6 commit 4c04083

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

bin/claude-code-router-config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,13 +264,11 @@ class ClaudeCodeRouterConfig {
264264
constructor(options) {
265265
this.max_tokens = options.max_tokens || 8192;
266266
this.enable_thinking = options.enable_thinking || false;
267-
this.stream = options.stream || true;
268267
}
269268
270269
async transformRequestIn(request, provider) {
271270
request.max_tokens = this.max_tokens;
272271
request.enable_thinking = this.enable_thinking;
273-
request.stream = this.stream;
274272
return request;
275273
}
276274
}

0 commit comments

Comments
 (0)