Skip to content

Conversation

@tanzhenxin
Copy link

#17

如果 claude code 原始请求没有 stream 参数,这时 dashscope transformer 补上 stream 参数,返回结果流 ContentType = text/event-stream,但是 claude-code-router 中会当成 json 返回处理(根据原始请求参数来判断的)。这时候会出现 #17 中的错误

@pomelo-nwu
Copy link
Collaborator

@tanzhenxin thanks for your contribution!

@pomelo-nwu pomelo-nwu merged commit 4c04083 into dashscope:main Aug 7, 2025
1 check passed
This was referenced Aug 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants