mirror of
https://github.com/modelstudioai/cli.git
synced 2026-09-14 19:49:23 +08:00
4343fc87af
- 在 headers.ts 中新增 OPEN_API_SOURCE 常量,作为静态的 OpenAPI 源标识 - 在 trackingHeaders 函数中添加 x-dashscope-openapisource 请求头 - 更新 client/index.ts 以导出 OPEN_API_SOURCE - 在 instrumented-fetch.test.ts 中添加对应请求头的测试,确保其正确添加或省略 - 修改文档注释,明确 x-dashscope-openapisource 与 x-dashscope-source-config 的用途和区别