Add Basic LLM CLI Commands #104

Open
opened 2025-10-03 22:26:36 +00:00 by tegwick · 0 comments
Owner

Priority: MEDIUM | Effort: 1 day | Dependencies: OpenRouter Client, Config Extensions

User Story

As a user, I want basic CLI commands to test my OpenRouter connection and perform simple LLM interactions so that I can verify my setup and explore AI capabilities.

Description

Implement fundamental CLI commands for LLM interaction, including connection testing, model listing, and basic query execution with MarkiTect context.

Technical Implementation

  • New Files: markitect/llm/commands.py, tests/test_llm_commands.py
  • Modified Files: markitect/cli.py

Acceptance Criteria

  • Command: markitect llm test - Test OpenRouter connection
  • Command: markitect llm models - List available models
  • Command: markitect llm ask - Basic LLM query
  • Command: markitect llm chat - Interactive chat mode
  • Proper error handling and user feedback
  • Integration with existing Click CLI framework
  • Support for configuration options and flags
  • CLI help documentation and examples

User interface for Issue #98 (OpenRoute Integration).

**Priority**: MEDIUM | **Effort**: 1 day | **Dependencies**: OpenRouter Client, Config Extensions ## User Story As a user, I want basic CLI commands to test my OpenRouter connection and perform simple LLM interactions so that I can verify my setup and explore AI capabilities. ## Description Implement fundamental CLI commands for LLM interaction, including connection testing, model listing, and basic query execution with MarkiTect context. ## Technical Implementation - **New Files**: markitect/llm/commands.py, tests/test_llm_commands.py - **Modified Files**: markitect/cli.py ## Acceptance Criteria - [ ] Command: markitect llm test - Test OpenRouter connection - [ ] Command: markitect llm models - List available models - [ ] Command: markitect llm ask - Basic LLM query - [ ] Command: markitect llm chat - Interactive chat mode - [ ] Proper error handling and user feedback - [ ] Integration with existing Click CLI framework - [ ] Support for configuration options and flags - [ ] CLI help documentation and examples ## Related Issues User interface for Issue #98 (OpenRoute Integration).
tegwick added the type:featurepriority:medium labels 2025-10-03 22:26:36 +00:00
tegwick added this to the LLM Chat and Agent Assistance project 2025-10-03 22:28:30 +00:00
Sign in to join this conversation.