yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::cli::GeminiConfig Struct Reference

#include <gemini_ai_service.h>

Public Member Functions

 GeminiConfig ()=default
 
 GeminiConfig (const std::string &key)
 

Public Attributes

std::string api_key
 
std::string model = "gemini-2.5-flash"
 
float temperature = 0.7f
 
int max_output_tokens = 2048
 
std::string system_instruction
 
bool use_enhanced_prompting = true
 
bool use_function_calling
 
std::string prompt_version
 
bool verbose = false
 

Detailed Description

Definition at line 18 of file gemini_ai_service.h.

Constructor & Destructor Documentation

◆ GeminiConfig() [1/2]

yaze::cli::GeminiConfig::GeminiConfig ( )
default

◆ GeminiConfig() [2/2]

yaze::cli::GeminiConfig::GeminiConfig ( const std::string & key)
inlineexplicit

Definition at line 33 of file gemini_ai_service.h.

Member Data Documentation

◆ api_key

std::string yaze::cli::GeminiConfig::api_key

Definition at line 19 of file gemini_ai_service.h.

Referenced by yaze::editor::AgentEditor::SendToGemini().

◆ model

std::string yaze::cli::GeminiConfig::model = "gemini-2.5-flash"

◆ temperature

float yaze::cli::GeminiConfig::temperature = 0.7f

Definition at line 21 of file gemini_ai_service.h.

◆ max_output_tokens

int yaze::cli::GeminiConfig::max_output_tokens = 2048

Definition at line 22 of file gemini_ai_service.h.

◆ system_instruction

std::string yaze::cli::GeminiConfig::system_instruction
mutable

Definition at line 24 of file gemini_ai_service.h.

◆ use_enhanced_prompting

bool yaze::cli::GeminiConfig::use_enhanced_prompting = true

Definition at line 25 of file gemini_ai_service.h.

◆ use_function_calling

bool yaze::cli::GeminiConfig::use_function_calling
Initial value:
=
true

Definition at line 26 of file gemini_ai_service.h.

Referenced by yaze::cli::CreateAIServiceStrict().

◆ prompt_version

std::string yaze::cli::GeminiConfig::prompt_version
Initial value:
=
"v3"

Definition at line 28 of file gemini_ai_service.h.

Referenced by yaze::cli::CreateAIServiceStrict().

◆ verbose

bool yaze::cli::GeminiConfig::verbose = false

The documentation for this struct was generated from the following file: