ms-agent icon indicating copy to clipboard operation
ms-agent copied to clipboard

ray模式是否支持自定义工具调用?

Open supercocoa opened this issue 1 year ago • 2 comments

Initial Checks

  • [X] I have searched Google & GitHub for similar requests and couldn't find anything
  • [X] I have read and followed the docs & demos and still think this feature is missing

Description

看register_tool的代码 TOOL_REGISTRY = ToolRegistry() 里好像没有用ray去构建,那用ray去构建agent是否或者如何支持自定义工具调用?

Use case

No response

supercocoa avatar May 20 '24 03:05 supercocoa

tool暂时还不支持在ray中执行,目前有multi-agent场景让多agent在ray中执行,以及tool在docker service中执行的支持(modelscope-agent-servers),后续看具体场景中是否有一定用ray执行tool的必要行。 感谢提供意见,用ray执行tool的优势具体有哪些,能否提供一些思路,我们也好做调研。

zzhangpurdue avatar May 20 '24 07:05 zzhangpurdue

就是正常的agent调tool的需求,multi-agent每个agent也会有自己的tool,场景比如tool是动态注册到TOOL_REGISTRY,目前agent在ray里跑可能和TOOL_REGISTRY元数据不在一个进程,那agent可能就用不了tool了吧

supercocoa avatar May 20 '24 07:05 supercocoa