【bug】Provider:自定义Provider(chat/completions)无法上传文件

版本:0.0.170


背景:使用自定义 Provider (chat/completions)(可以正常对话、展示思维链、调用工具等)

问题:当发送带有文件(pdf)的 message 时,出现如下报错:

“AI_UnsupportedFunctionalityError: 'file part media type application/pdf' functionality not supported.”

对比:如果使用 openrouter,则可以正常上传文件(pdf),并进行对话。

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
🐛

Bug Reports

Date

2 months ago

Author

Appointat

Subscribe to post

Get notified by email when there are changes.