feat(platform): Agent 与媒体能力 - 完善角色卡、音频协议与任务恢复链路
This commit is contained in:
1 parent
a8f83fedd5
commit
5650da6d31
91 files changed
+3438
-380
No files matched your search
@@ -11,19 +11,6 @@ import (
|
||||
|
||||
// Skills Configuration Builders
|
||||
|
||||
// buildSkillPaths 构建 Skills 路径列表
|
||||
func (s *Service) buildSkillPaths(skills []cloudAgentSkill) []string {
|
||||
if len(skills) == 0 {
|
||||
return []string{}
|
||||
}
|
||||
|
||||
paths := make([]string, 0, len(skills))
|
||||
for _, skill := range skills {
|
||||
paths = append(paths, cloudAgentSkillPaths(skill)...)
|
||||
}
|
||||
return paths
|
||||
}
|
||||
|
||||
// buildSkillManifests 构建 Skills 清单(传递给 Pi)
|
||||
func (s *Service) buildSkillManifests(skills []cloudAgentSkill) []map[string]any {
|
||||
if len(skills) == 0 {
|
||||
|
||||
Reference in new issue
Block a user