yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
flags.cc
Go to the documentation of this file.
1#include <string>
2
3#include "absl/flags/flag.h"
4
5ABSL_FLAG(std::string, rom, "", "Path to the ROM file");
6ABSL_FLAG(bool, mock_rom, false,
7 "Use mock ROM mode for testing without requiring an actual ROM file. "
8 "Loads all Zelda3 embedded labels but no actual ROM data.");
9
10// AI Service Configuration Flags
11ABSL_FLAG(std::string, ai_provider, "auto",
12 "AI provider to use: 'auto' (try gemini→ollama→mock), 'gemini', 'ollama', or 'mock'");
13ABSL_FLAG(std::string, ai_model, "",
14 "AI model to use (provider-specific, e.g., 'llama3' for Ollama, "
15 "'gemini-1.5-flash' for Gemini)");
16ABSL_FLAG(std::string, gemini_api_key, "",
17 "Gemini API key (can also use GEMINI_API_KEY environment variable)");
18ABSL_FLAG(std::string, ollama_host, "http://localhost:11434",
19 "Ollama server host URL");
20ABSL_FLAG(std::string, prompt_version, "default",
21 "Prompt version to use: 'default' or 'v2'");
22ABSL_FLAG(bool, use_function_calling, false,
23 "Enable native Gemini function calling (incompatible with JSON output mode)");
24
25// --- Agent Control Flags ---
26ABSL_FLAG(bool, agent_control, false,
27 "Enable the gRPC server to allow the agent to control the emulator.");
ABSL_FLAG(std::string, rom, "", "Path to the ROM file")