Module: Gemini::Controllers::Client::VertexAiPatch
- Included in:
- Gemini::Controllers::Client
- Defined in:
- lib/llm_conductor/patches/gemini_vertex_api_key.rb
Constant Summary collapse
- CLOUD_PLATFORM_SCOPE =
'https://www.googleapis.com/auth/cloud-platform'
Instance Method Summary collapse
Instance Method Details
#initialize(config) ⇒ Object
20 21 22 23 24 |
# File 'lib/llm_conductor/patches/gemini_vertex_api_key.rb', line 20 def initialize(config) super fix_vertex_api_key_base_address(config) if @authentication == :api_key && @service == 'vertex-ai-api' fix_adc_scope if @authentication == :default_credentials end |