feat(platform): Agent 与媒体能力 - 完善角色卡、音频协议与任务恢复链路
This commit is contained in:
1 parent
a8f83fedd5
commit
5650da6d31
91 files changed
+3438
-380
No files matched your search
@@ -465,7 +465,7 @@ func cloudAgentLayoutTitles(doc map[string]any) map[string]string {
|
||||
}
|
||||
title := strings.TrimSpace(stringValue(node["title"]))
|
||||
if title == "" {
|
||||
if capability, ok := cloudAgentNodeCapabilityForType(stringValue(node["type"])); ok {
|
||||
if capability, ok := cloudAgentNodeCapabilityForNode(node); ok {
|
||||
title = capability.Label
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user