Skip to content

Conversation

@arismoko
Copy link

Summary

  • Adds noReply?: boolean to the command.execute.before hook output type
  • Passes hookOutput.noReply to prompt() to skip LLM when set

Use Case

Plugins can handle slash commands directly without invoking the LLM.

Verification

Tested with a plugin that handles /tty commands. Setting output.noReply = true in the hook skips LLM invocation and the command output is displayed directly.

Fixes #9306

Allows plugins to skip LLM invocation when handling slash commands directly.

Fixes anomalyco#9306
@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add noReply option to command.execute.before hook

1 participant