MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / getChartCapabilitySkillSummary

Function getChartCapabilitySkillSummary

src/stores/skill.ts:67–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65 const currentLocale = ref<string>('zh-CN')
66
67 function getChartCapabilitySkillSummary(): SkillSummary {
68 const isZh = currentLocale.value.startsWith('zh')
69 return {
70 id: CHART_CAPABILITY_SKILL_ID,
71 name: isZh ? '绘图助手' : 'Chart Assistant',
72 description: isZh ? '按本轮问题生成灵活的聊天数据图表' : 'Generate flexible charts for this chat question',
73 tags: [isZh ? '图表' : 'chart'],
74 chatScope: 'all',
75 tools: ['render_chart', 'get_schema'],
76 builtinId: CHART_CAPABILITY_SKILL_ID,
77 }
78 }
79
80 const activeSkill = computed(() => {
81 if (!activeSkillId.value) return null

Callers 2

skill.tsFile · 0.85
getSkillConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected