@dahawa/hawa-cli-analysis 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/claude/claude-proxy.js +1 -1
- package/package.json +1 -1
package/claude/claude-proxy.js
CHANGED
|
@@ -213,7 +213,7 @@ async function handel(request, reply, endpoint){
|
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
//如果对 tools 修改了这里的长度肯定要变化的
|
|
216
|
-
let requestHeaders = {...request.headers}
|
|
216
|
+
let requestHeaders = {...request.headers,"accept-encoding":"identity"}
|
|
217
217
|
delete requestHeaders["content-length"]; //可能还有大小写问题
|
|
218
218
|
//console.log(requestHeaders);
|
|
219
219
|
|