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.");
9ABSL_FLAG(bool, quiet, false, "Suppress non-essential output");
10
11// AI Service Configuration Flags
12ABSL_FLAG(std::string, ai_provider, "auto",
13 "AI provider to use: 'auto' (try gemini→anthropic→openai→mock), "
14 "'gemini', 'anthropic', 'openai', 'ollama', or 'mock'");
15ABSL_FLAG(std::string, ai_model, "",
16 "AI model to use (provider-specific, e.g., 'llama3' for Ollama, "
17 "'gemini-1.5-flash' for Gemini, 'gpt-4o-mini' for OpenAI)");
18ABSL_FLAG(std::string, gemini_api_key, "",
19 "Gemini API key (can also use GEMINI_API_KEY environment variable)");
21 std::string, anthropic_api_key, "",
22 "Anthropic API key (can also use ANTHROPIC_API_KEY environment variable)");
23ABSL_FLAG(std::string, ollama_host, "http://localhost:11434",
24 "Ollama server host URL");
25ABSL_FLAG(std::string, prompt_version, "default",
26 "Prompt version to use: 'default' or 'v2'");
27ABSL_FLAG(bool, use_function_calling, false,
28 "Enable native Gemini function calling (incompatible with JSON "
29 "output mode)");
30
31// --- Agent Control Flags ---
32ABSL_FLAG(bool, agent_control, false,
33 "Enable the gRPC server to allow the agent to control the emulator.");
34
35ABSL_FLAG(std::string, gui_server_address, "localhost:50051",
36 "Address of the YAZE GUI gRPC server");
ABSL_FLAG(std::string, rom, "", "Path to the ROM file")