yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
service_factory.h
Go to the documentation of this file.
1#ifndef YAZE_CLI_SERVICE_AI_SERVICE_FACTORY_H_
2#define YAZE_CLI_SERVICE_AI_SERVICE_FACTORY_H_
3
4#include <memory>
5#include <string>
6
8
9namespace yaze {
10namespace cli {
11
13 std::string provider = "auto"; // "auto" (try gemini→ollama→mock), "gemini", "ollama", or "mock"
14 std::string model; // Provider-specific model name
15 std::string gemini_api_key; // For Gemini
16 std::string ollama_host = "http://localhost:11434"; // For Ollama
17 bool verbose = false; // Enable debug logging
18};
19
20// Create AI service using command-line flags
21std::unique_ptr<AIService> CreateAIService();
22
23// Create AI service with explicit configuration
24std::unique_ptr<AIService> CreateAIService(const AIServiceConfig& config);
25
26} // namespace cli
27} // namespace yaze
28
29#endif // YAZE_CLI_SERVICE_AI_SERVICE_FACTORY_H_
std::unique_ptr< AIService > CreateAIService()
Main namespace for the application.