Skip to content

fix: 修复 Message.ContentType 无法使用的问题。 - #186

Merged
adlered merged 2 commits into
FishPiOffical:masterfrom
Arkissa:fix/content-type
Jan 6, 2026
Merged

adlered merged 2 commits into
FishPiOffical:masterfrom
Arkissa:fix/content-type

Conversation

@Arkissa

@Arkissa Arkissa commented Jan 4, 2026

Copy link
Copy Markdown
Contributor

Problem

OpenAIProvider 里对 Message.ContentType 没添加 type 字段,导致没办法使用

How to fix

write 中添加对应的类型字段

More feat

Message.ContentType.Image 现在支持直接使用 byte[] 和 URI 类型来构造,使用 byte[] 会帮忙做 data base64 url 的序列化。

@adlered
adlered merged commit d5087d9 into FishPiOffical:master Jan 6, 2026
1 check failed
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