mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-11 18:49:02 +08:00
fix: slidespeak text output is not the download link (#10997)
This commit is contained in:
parent
b791a80b75
commit
684f6b2299
@ -149,7 +149,7 @@ class SlidesGeneratorTool(BuiltinTool):
|
|||||||
presentation_bytes = await self._fetch_presentation(session, download_url)
|
presentation_bytes = await self._fetch_presentation(session, download_url)
|
||||||
|
|
||||||
return [
|
return [
|
||||||
self.create_text_message("Presentation generated successfully"),
|
self.create_text_message(download_url),
|
||||||
self.create_blob_message(
|
self.create_blob_message(
|
||||||
blob=presentation_bytes,
|
blob=presentation_bytes,
|
||||||
meta={"mime_type": "application/vnd.openxmlformats-officedocument.presentationml.presentation"},
|
meta={"mime_type": "application/vnd.openxmlformats-officedocument.presentationml.presentation"},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user