Update /help command with all new tools and categories

This commit is contained in:
2026-02-23 00:07:42 +00:00
parent 53bde5f4aa
commit 67067b6741

View File

@@ -92,30 +92,35 @@ You can call multiple tools in one response. Be precise and helpful."""
try: try:
if cmd == '/help': if cmd == '/help':
help_text = """ help_text = """
[bold cyan]Ollama CLI Help[/bold cyan] [bold cyan]Ollama CLI v3.0 Help[/bold cyan]
[bold]General Commands:[/bold] [bold]General Commands:[/bold]
/help - Show this help message /help - Show this help message
/quit - Exit the CLI /quit - Exit the CLI
/clear - Clear conversation history /clear - Clear conversation history
[bold]Model Commands:[/bold] [bold]Model & Sessions:[/bold]
/models - List available models /models - List available models
/model <name> - Switch current model /model <name> - Switch current model
[bold]Session Commands:[/bold]
/sessions - List saved sessions /sessions - List saved sessions
/save [name] - Save current session /save [name] - Save current session
/load <name> - Load a saved session /load <name> - Load a saved session
[bold]Core Agent Tools:[/bold]
[blue]Filesystem:[/blue] read_file, write_file, list_directory, grep_search, get_tree
[blue]Code & Python:[/blue] run_python, replace_text, code_analyze_file, run_linter
[blue]Web:[/blue] web_search, read_url
[blue]Media:[/blue] generate_image, speak_text
[blue]Knowledge:[/blue] kb_add, kb_search, remember_fact, recall_facts, clear_memory
[bold]Integrations:[/bold] [bold]Integrations:[/bold]
/mcp connect <name> <cmd> [args] - Connect MCP server /mcp connect <name> <cmd> [args] - Connect MCP server
/lsp start <lang> [path] - Start LSP server /lsp start <lang> [path] - Start LSP server
/notify setup <topic> - Setup ntfy.sh remote control /notify setup <topic> - Setup ntfy.sh remote control
[bold]Configuration:[/bold] [bold]Configuration:[/bold]
/config ollama <url> - Set Ollama server URL /config ollama <url> - Set Ollama server URL (default: http://localhost:11434)
/config comfy <url> - Set ComfyUI server URL /config comfy <url> - Set ComfyUI server URL (default: http://127.0.0.1:8188)
""" """
console.print(help_text) console.print(help_text)
elif cmd == '/config': elif cmd == '/config':