agentscope-java icon indicating copy to clipboard operation
agentscope-java copied to clipboard

[SKILLS]:如何处理技能包assets/下面的非文本资源?

Open chcodex opened this issue 10 months ago • 5 comments

例如:

assets/简历模板.docx 这是非文本内容不能被load_skill_through_path直接加载,但是脚本里面需要使用

chcodex avatar Jan 26 '26 03:01 chcodex

Your expectation is that this part of the content should also be output to the workDir of the skillBox, right? I will add customized functions in this area in the future. Users can choose which content to upload to the workDir themselves.

fang-tech avatar Jan 26 '26 04:01 fang-tech

You can temporarily solve this problem by moving the contents of this "assets" folder to the "scripts" folder.

fang-tech avatar Jan 26 '26 09:01 fang-tech

You can temporarily solve this problem by moving the contents of this "assets" folder to the "scripts" folder.

This goes against the set specifications of agent skills

chcodex avatar Jan 27 '26 03:01 chcodex

That was a temporary solution. In the next version, assets were added to the default folder, and it also allowed users to define what content would be uploaded to the workDir.

fang-tech avatar Jan 27 '26 03:01 fang-tech

This issue needs to be closed via #709 @AlbumenJ

fang-tech avatar Feb 04 '26 02:02 fang-tech