Skip to content

修复:不支持图片问题(图片前缀误处理)及字段兼容性#1152

Open
guotd wants to merge 1 commit intomusistudio:mainfrom
guotd:fix/image-double-prefix
Open

修复:不支持图片问题(图片前缀误处理)及字段兼容性#1152
guotd wants to merge 1 commit intomusistudio:mainfrom
guotd:fix/image-double-prefix

Conversation

@guotd
Copy link

@guotd guotd commented Jan 19, 2026

  • 针对非 Claude 模型,移除特有字段(reasoning、thinking、cache_control、media_type),提升兼容性
  • 优化图片 URL 格式化逻辑,防止 data URI 前缀重复拼接,确保推理链路稳定

该变更解决了图片多模型转发时因格式或冗余参数导致的推理/上传异常,改善了系统稳定性和可拓展性,便于后续多模型扩展。

- 针对非 Claude 模型,移除特有字段(reasoning、thinking、cache_control、media_type),提升兼容性
- 优化图片 URL 格式化逻辑,防止 data URI 前缀重复拼接,确保推理链路稳定

该变更解决了图片多模型转发时因格式或冗余参数导致的推理/上传异常,改善了系统稳定性和可拓展性,便于后续多模型扩展。
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