Claude Code的WebFetch工具自动添加Accept头以获取markdown文档
在下一版 Claude Code 中,Claude 的 WebFetch 工具会自动在请求中添加 Accept: “text/markdown, *”,这有助于文档站点提供 token 高效的文档。
当 Claude Code 获取 Bun 的文档时,Bun 的文档现在默认发送 markdown 而非 HTML,这将我们的文档 token 使用量减少了约 10 倍。https://t.co/cvasTo6h43