mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-27 16:04:21 +00:00
feat: update file download url
This commit is contained in:
@@ -86,11 +86,11 @@ class GewechatMessageConverter(adapter.MessageConverter):
|
||||
try:
|
||||
base64_str, image_format = await image.get_gewechat_image_base64(
|
||||
gewechat_url=self.config["gewechat_url"],
|
||||
gewechat_file_url=self.config["gewechat_file_url"]
|
||||
app_id=self.config["app_id"],
|
||||
xml_content=image_xml,
|
||||
token=self.config["token"],
|
||||
image_type=2,
|
||||
download_image_port=self.config["gewechat_downloadImage_port"]
|
||||
)
|
||||
|
||||
return platform_message.MessageChain([
|
||||
|
||||
Reference in New Issue
Block a user