Skip to content

Conversation

SapientialM
Copy link
Contributor

Describe what this PR does / why we need it

  1. Added a PPT generation tool and its corresponding Agent, currently only supporting the generation of PPTs with text and titles without applying templates.
  2. Fixed the issue of incorrect TOOL_TOOL definition in the tool prompt.

Does this pull request fix one issue?

#1472

Describe how you did it

  1. added a tool named ppt_generator_tool, integrating Apache POI operations
  2. along with the corresponding ppt_generator_agent to support PPT generation with text and titles
  3. fixed the issue where the FILE_MERGE_TOOL prompt could not be found due to the incorrect naming of TOOL_TOOL.

Describe how to verify it

The PPT generation tool is located in the extensions folder.

{
  "planType": "simple",
  "title": "生成阿里云公司介绍PPT的计划",
  "directResponse": false,
  "steps": [
    {
      "stepRequirement": "[DEFAULT_AGENT] 收集阿里云的基本信息,包括公司简介、主要产品和服务、应用场景等",
      "terminateColumns": "step,status"
    },
    {
      "stepRequirement": "[TEXT_FILE_AGENT] 将收集到的信息整理成文本格式,并保存为一个文本文件",
      "terminateColumns": "step,status"
    },
    {
      "stepRequirement": "[PPT_GENERATOR_AGENT] 使用文本文件中的信息创建一个介绍阿里云公司的PPT文档,返回给用户PPT路径",
      "terminateColumns": "step,status"
    }
  ],
  "planId": "planTemplate-1754127984630"
}

Special notes for reviews

Pending Tasks:

  • Image embedding in PPTs – Implementation incomplete
  • Template support – Ability to apply existing slide templates not yet added
  • Frontend PPT preview – Preview feature pending development

1. Added a PPT generation tool and its corresponding Agent, currently only supporting the generation of PPTs with text and titles without applying templates.
2. Fixed the issue of incorrect TOOL_TOOL definition in the tool prompt.
@github-actions github-actions bot added the area/jmanus SAA Jmanus module label Aug 2, 2025
@SapientialM SapientialM closed this Aug 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/jmanus SAA Jmanus module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant