feat: Enhance AI service with verbose logging and command help
- Added a `--verbose` flag to enable detailed debug output for the Gemini AI service. - Updated `GeminiAIService` constructor to log initialization details when verbose mode is enabled. - Modified `CreateAIService` to pass the verbose flag to the Gemini configuration. - Enhanced command help in `ModernCLI` to categorize commands and provide detailed descriptions. - Refactored `HandleSimpleChatCommand` to accept a pointer to `Rom` instead of a reference. - Updated `ShowCategoryHelp` to display command categories and examples. - Improved error handling and logging in `GeminiAIService` for better debugging.
This commit is contained in:
@@ -14,6 +14,7 @@ struct AIServiceConfig {
|
||||
std::string model; // Provider-specific model name
|
||||
std::string gemini_api_key; // For Gemini
|
||||
std::string ollama_host = "http://localhost:11434"; // For Ollama
|
||||
bool verbose = false; // Enable debug logging
|
||||
};
|
||||
|
||||
// Create AI service using command-line flags
|
||||
|
||||
Reference in New Issue
Block a user