yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
flags.cc File Reference
#include <string>
#include "absl/flags/flag.h"
Include dependency graph for flags.cc:

Go to the source code of this file.

Functions

 ABSL_FLAG (std::string, rom, "", "Path to the ROM file")
 
 ABSL_FLAG (bool, mock_rom, false, "Use mock ROM mode for testing without requiring an actual ROM file. " "Loads all Zelda3 embedded labels but no actual ROM data.")
 
 ABSL_FLAG (bool, quiet, false, "Suppress non-essential output")
 
 ABSL_FLAG (bool, sandbox, false, "Run ROM commands against a sandbox copy of the ROM")
 
 ABSL_FLAG (std::string, ai_provider, "auto", "AI provider to use: 'auto' (try gemini→anthropic→openai→mock), " "'gemini', 'anthropic', 'openai', 'ollama', or 'mock'")
 
 ABSL_FLAG (std::string, ai_model, "", "AI model to use (provider-specific, e.g., 'llama3' for Ollama, " "'gemini-1.5-flash' for Gemini, 'gpt-4o-mini' for OpenAI)")
 
 ABSL_FLAG (std::string, gemini_api_key, "", "Gemini API key (can also use GEMINI_API_KEY environment variable)")
 
 ABSL_FLAG (std::string, anthropic_api_key, "", "Anthropic API key (can also use ANTHROPIC_API_KEY environment variable)")
 
 ABSL_FLAG (std::string, ollama_host, "http://localhost:11434", "Ollama server host URL")
 
 ABSL_FLAG (std::string, mesen_socket, "", "Override Mesen2 socket path (e.g. /tmp/mesen2-1234.sock)")
 
 ABSL_FLAG (std::string, openai_base_url, "https://api.openai.com", "OpenAI-compatible API base URL (LMStudio: http://localhost:1234)")
 
 ABSL_FLAG (std::string, prompt_version, "default", "Prompt version to use: 'default' or 'v2'")
 
 ABSL_FLAG (bool, use_function_calling, false, "Enable native Gemini function calling (incompatible with JSON " "output mode)")
 
 ABSL_FLAG (bool, agent_control, false, "Enable the gRPC server to allow the agent to control the emulator.")
 
 ABSL_FLAG (std::string, gui_server_address, "localhost:50051", "Address of the YAZE GUI gRPC server")
 

Function Documentation

◆ ABSL_FLAG() [1/15]

ABSL_FLAG ( std::string ,
rom ,
"" ,
"Path to the ROM file"  )

◆ ABSL_FLAG() [2/15]

ABSL_FLAG ( bool ,
mock_rom ,
false ,
"Use mock ROM mode for testing without requiring an actual ROM file. " "Loads all Zelda3 embedded labels but no actual ROM data."  )

◆ ABSL_FLAG() [3/15]

ABSL_FLAG ( bool ,
quiet ,
false ,
"Suppress non-essential output"  )

◆ ABSL_FLAG() [4/15]

ABSL_FLAG ( bool ,
sandbox ,
false ,
"Run ROM commands against a sandbox copy of the ROM"  )

◆ ABSL_FLAG() [5/15]

ABSL_FLAG ( std::string ,
ai_provider ,
"auto" ,
"AI provider to use: 'auto' try gemini→anthropic→openai→mock,
" " 'gemini' ,
'anthropic' ,
'openai' ,
'ollama' ,
or 'mock'"  )

◆ ABSL_FLAG() [6/15]

ABSL_FLAG ( std::string ,
ai_model ,
"" ,
"AI model to use (provider-specific, e.g., 'llama3' for Ollama, " "'gemini-1.5-flash' for Gemini, 'gpt-4o-mini' for OpenAI)"  )

◆ ABSL_FLAG() [7/15]

ABSL_FLAG ( std::string ,
gemini_api_key ,
"" ,
"Gemini API key (can also use GEMINI_API_KEY environment variable)"  )

◆ ABSL_FLAG() [8/15]

ABSL_FLAG ( std::string ,
anthropic_api_key ,
"" ,
"Anthropic API key (can also use ANTHROPIC_API_KEY environment variable)"  )

◆ ABSL_FLAG() [9/15]

ABSL_FLAG ( std::string ,
ollama_host ,
"http://localhost:11434" ,
"Ollama server host URL"  )

◆ ABSL_FLAG() [10/15]

ABSL_FLAG ( std::string ,
mesen_socket ,
"" ,
"Override Mesen2 socket path (e.g. /tmp/mesen2-1234.sock)"  )

◆ ABSL_FLAG() [11/15]

ABSL_FLAG ( std::string ,
openai_base_url ,
"https://api.openai.com" ,
"OpenAI-compatible API base URL (LMStudio: http://localhost:1234)"  )

◆ ABSL_FLAG() [12/15]

ABSL_FLAG ( std::string ,
prompt_version ,
"default" ,
"Prompt version to use: 'default' or 'v2'"  )

◆ ABSL_FLAG() [13/15]

ABSL_FLAG ( bool ,
use_function_calling ,
false ,
"Enable native Gemini function calling (incompatible with JSON " "output mode)"  )

◆ ABSL_FLAG() [14/15]

ABSL_FLAG ( bool ,
agent_control ,
false ,
"Enable the gRPC server to allow the agent to control the emulator."  )

◆ ABSL_FLAG() [15/15]

ABSL_FLAG ( std::string ,
gui_server_address ,
"localhost:50051" ,
"Address of the YAZE GUI gRPC server"  )