feat(helper): add interactive Q&A helper command
Add `markitect helper <QUESTION>` CLI command that answers questions about markitect using its own documentation as LLM context. Uses OpenRouter with openrouter/aurora-alpha by default; model is configurable via --model flag or MARKITECT_HELPER_MODEL env var. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
41773f1320
commit
69e2ec25ff
5 changed files with 308 additions and 0 deletions
|
|
@ -7095,6 +7095,13 @@ try:
|
|||
except ImportError:
|
||||
pass # Prompts module not available
|
||||
|
||||
# Register helper Q&A command
|
||||
try:
|
||||
from markitect.helper.cli import helper_command
|
||||
cli.add_command(helper_command)
|
||||
except ImportError:
|
||||
pass # Helper module not available
|
||||
|
||||
# Make cli function available as main entry point
|
||||
main = cli
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue