Module: Cline::GlobalState::ApiProviders
- Included in:
- Cline::GlobalState
- Defined in:
- lib/cline/global_state/api_providers.rb
Overview
API provider endpoints and authentication settings
Class Method Summary collapse
-
.included(base) ⇒ Object
Define all the attributes of the included class.
Class Method Details
.included(base) ⇒ Object
Define all the attributes of the included class
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/cline/global_state/api_providers.rb', line 8 def self.included(base) base.class_eval do # @!group Public API # @return [Hash] OpenAI custom headers attribute :open_ai_headers, Utils::Schema.map(:string) # @return [Boolean] SAP AI Core orchestration mode flag attribute :sap_ai_core_use_orchestration_mode, :boolean # @return [String] Anthropic API base URL attribute :anthropic_base_url, :string # @return [String] OpenRouter provider sorting preference attribute :open_router_provider_sorting, :string # @return [String] AWS authentication method attribute :aws_authentication, :string # @return [String] Ollama API context window number attribute :ollama_api_options_ctx_num, :string # @return [String] LM Studio base URL attribute :lm_studio_base_url, :string # @return [String] LM Studio maximum tokens attribute :lm_studio_max_tokens, :string # @return [String] Gemini API base URL attribute :gemini_base_url, :string # @return [String] Azure API version attribute :azure_api_version, :string # @return [Integer] Request timeout in milliseconds attribute :request_timeout_ms, :integer end end |