Implement skill debugging functionality and refactor skill execution flow

This commit is contained in:
mlogclub
2026-04-09 11:58:04 +08:00
parent eb9cd78646
commit 28d18ab6c0
12 changed files with 321 additions and 233 deletions
-17
View File
@@ -1,17 +0,0 @@
package enums
type SkillExecutionMode string
const (
SkillExecutionModePromptOnly SkillExecutionMode = "prompt_only"
SkillExecutionModeMCPTool SkillExecutionMode = "mcp_tool"
)
var skillExecutionModeLabelMap = map[SkillExecutionMode]string{
SkillExecutionModePromptOnly: "Prompt直出",
SkillExecutionModeMCPTool: "MCP工具",
}
func GetSkillExecutionModeLabel(mode SkillExecutionMode) string {
return skillExecutionModeLabelMap[mode]
}