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");
10ABSL_FLAG(bool, sandbox, false,
11 "Run ROM commands against a sandbox copy of the ROM");
12
13// AI Service Configuration Flags
14ABSL_FLAG(std::string, ai_provider, "auto",
15 "AI provider to use: 'auto' (try gemini→anthropic→openai→mock), "
16 "'gemini', 'anthropic', 'openai', 'ollama', or 'mock'");
17ABSL_FLAG(std::string, ai_model, "",
18 "AI model to use (provider-specific, e.g., 'llama3' for Ollama, "
19 "'gemini-1.5-flash' for Gemini, 'gpt-4o-mini' for OpenAI)");
20ABSL_FLAG(std::string, gemini_api_key, "",
21 "Gemini API key (can also use GEMINI_API_KEY environment variable)");
23 std::string, anthropic_api_key, "",
24 "Anthropic API key (can also use ANTHROPIC_API_KEY environment variable)");
25ABSL_FLAG(std::string, ollama_host, "http://localhost:11434",
26 "Ollama server host URL");
27ABSL_FLAG(std::string, mesen_socket, "",
28 "Override Mesen2 socket path (e.g. /tmp/mesen2-1234.sock)");
29ABSL_FLAG(std::string, openai_base_url, "https://api.openai.com",
30 "OpenAI-compatible API base URL (LMStudio: http://localhost:1234)");
31ABSL_FLAG(std::string, prompt_version, "default",
32 "Prompt version to use: 'default' or 'v2'");
33ABSL_FLAG(bool, use_function_calling, false,
34 "Enable native Gemini function calling (incompatible with JSON "
35 "output mode)");
36
37// --- Agent Control Flags ---
38ABSL_FLAG(bool, agent_control, false,
39 "Enable the gRPC server to allow the agent to control the emulator.");
40
41ABSL_FLAG(std::string, gui_server_address, "localhost:50051",
42 "Address of the YAZE GUI gRPC server");
ABSL_FLAG(std::string, rom, "", "Path to the ROM file")