(cfg config.Config)
| 27 | |
| 28 | func NewPromptProcessor(cfg config.Config) *PromptProcessor { |
| 29 | return &PromptProcessor{Config: cfg} |
| 30 | } |
| 31 | |
| 32 | func (p *PromptProcessor) Process(skill SkillSpec, args, sessionID string, approveProjectShell func(SkillShellPermissionRequest) bool) (string, error) { |
| 33 | if skill.Content == nil { |
| 34 | return "", fmt.Errorf("Skill content must be loaded before processing") |
no outgoing calls