- 
                Notifications
    
You must be signed in to change notification settings  - Fork 224
 
处理创建智能体时,没有工具列表的问题 #488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
处理创建智能体时,没有工具列表的问题 #488
Conversation
| } | ||
| ListResult<PluginToolData> tools = ListResult.create(new ArrayList<>(), 0); | ||
| tools.setCount(tool1.getCount() + tools2.getCount()); | ||
| List<PluginToolData> mergedData = Stream.concat(tool1.getData().stream(), tools2.getData().stream()) | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这边调用的地方,是不同创建者创造的插件,从业务上讲不会重复,所以不需要去重
| this.toolService, | ||
| this.localeService, | ||
| this.appRepository); | ||
| this.appRepository, "system"); | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
单测已增加
…n intelligent agent
c61d829    to
    cac2bc0      
    Compare
  
    

🔗 相关问题 / Related Issue
Issue 链接 / Issue Link: #487 👈👈
📋 变更类型 / Type of Change
📝 变更目的 / Purpose of the Change
📋 主要变更 / Brief Changelog
🧪 验证变更 / Verifying this Change
测试步骤 / Test Steps
点击智能体创建,然后描述里填“面试助手” / Click Create Agent and fill in "Interview Assistant" in the Description field.
此时创建成功的智能体,在“工具”处会有系统插件 / At this time, the successfully created intelligent body will have a system plug-in in the "Tools"
测试覆盖 / Test Coverage
📸 截图 / Screenshots
✅ 贡献者检查清单 / Contributor Checklist
请确保你的 Pull Request 符合以下要求 / Please ensure your Pull Request meets the following requirements:
基本要求 / Basic Requirements:
代码质量 / Code Quality:
测试要求 / Testing Requirements:
mvn -B clean package -Dmaven.test.skip=true,npm install --force && npm run build:pro/ Basic checks passmvn clean install/ Unit tests pass文档和兼容性 / Documentation and Compatibility:
📋 附加信息 / Additional Notes
审查者注意事项 / Reviewer Notes: