Skip to content

pantoken-root / ai/pantoken-ai/src / installAgentAssets

函数: installAgentAssets() ​

installAgentAssets(tool, dir?): string[]

Alpha

将 pantoken 的代理资产为某个工具写入到消费者仓库。

参数 ​

tool ​

AgentTool | "all"

特定的 AgentTool,或 "all" 表示每个资产。

dir? ​

string

目标目录(默认 ".")。

返回值 ​

string[]

写入的路径。