MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / recordSkillInvocation

Method recordSkillInvocation

agent/query_engine.go:349–358  ·  view source on GitHub ↗
(skill skills.SkillSpec, execution skills.SkillExecutionResult, turnCount int)

Source from the content-addressed store, hash-verified

347 select {
348 case ch <- granted:
349 default:
350 }
351 return true
352}
353
354func (q *QueryEngine) normalizeSkillUserPrompt(skillName, skillArgs string) string {
355 if strings.TrimSpace(skillArgs) != "" {
356 return fmt.Sprintf("Use skill '%s' with arguments: %s", skillName, skillArgs)
357 }
358 return fmt.Sprintf("Use skill '%s'.", skillName)
359}
360
361func (q *QueryEngine) recordSkillInvocation(skill skills.SkillSpec, execution skills.SkillExecutionResult, turnCount int) {

Callers 1

SubmitMessageMethod · 0.95

Calls 1

RecordInvocationMethod · 0.80

Tested by

no test coverage detected