Open holzora opened 2 months ago
Bot detected the issue body's language is not English, translate it automatically.
Title: [Feature Request] Can the function of uploading pictures to the picture bed in the plug-in be realized?
现在的Plugin还不支持调用接口的时候,使用formdata的格式提交数据(自然也不支持提交file)
原因在于,这里的参数是由LLM提供的。LLM并不能成功的构造出一个formdata格式数据。
后续,可能会尝试给出一个固定的语法(可能类似curl 中 -F file=@/somepath/file.ext
这种)再由plugin runtime去支持
Bot detected the issue body's language is not English, translate it automatically.
The current Plugin does not support submitting data in the formdata format when calling the interface (naturally, it does not support submitting files).
The reason is that the parameters here are provided by LLM. LLM cannot successfully construct a formdata format data.
In the future, we may try to give a fixed syntax (perhaps similar to -F file=@/somepath/file.ext
in curl) and then support it by the plugin runtime.
现在的Plugin还不支持调用接口的时候,使用formdata的格式提交数据(自然也不支持提交file)
原因在于,这里的参数是由LLM提供的。LLM并不能成功的构造出一个formdata格式数据。
后续,可能会尝试给出一个固定的语法(可能类似curl 中
-F file=@/somepath/file.ext
这种)再由plugin runtime去支持
好的,辛苦了🙏🏻
Bot detected the issue body's language is not English, translate it automatically.
The current Plugin does not support using the formdata format to submit data when calling the interface (naturally, it does not support submitting files)
The reason is that the parameters here are provided by LLM. LLM cannot successfully construct a formdata format data.
In the future, we may try to give a fixed syntax (perhaps similar to
-F file=@/somepath/file.ext
in curl) and then support it by the plugin runtime
Okay, thank you for your hard work🙏🏻
🥰 需求描述
上传的图片可以通过插件上传到图床
🧐 解决方案
同上
📝 补充信息
插件