MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / getSkillMenu

Method getSkillMenu

packages/node-runtime/src/ai/skill-manager.ts:86–88  ·  view source on GitHub ↗

* 构建 AI 自选技能菜单文本 * 只包含与当前 chatType + 助手工具权限兼容的技能

(chatType: 'group' | 'private', allowedTools?: string[])

Source from the content-addressed store, hash-verified

84 * 只包含与当前 chatType + 助手工具权限兼容的技能
85 */
86 getSkillMenu(chatType: 'group' | 'private', allowedTools?: string[]): string | null {
87 return this.core.getSkillMenu(chatType, allowedTools)
88 }
89}
90
91function toLoggerExtra(data: unknown): Record<string, unknown> | undefined {

Callers 5

createCliRunAgentStreamFunction · 0.95
getSkillMenuFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected