Class: ActiveAgent::Providers::Requesty::Options
- Inherits:
-
OpenAI::Options
- Object
- Common::BaseModel
- OpenAI::Options
- ActiveAgent::Providers::Requesty::Options
- Defined in:
- lib/active_agent/providers/requesty/options.rb
Overview
Configuration options for the Requesty provider.
Extends OpenAI::Options, overriding the base URL to point at Requesty's OpenAI-compatible gateway and resolving the API key from REQUESTY_API_KEY. Requesty does not use organization or project identifiers.
Instance Attribute Summary collapse
-
#base_url ⇒ String
API endpoint (default: "https://router.requesty.ai/v1").
Method Summary
Methods inherited from OpenAI::Options
Methods inherited from Common::BaseModel
#<=>, #==, attribute, #deep_compact, #deep_dup, delegate_attributes, drop_attributes, inherited, #initialize, #inspect, keys, #merge!, required_attributes, #serialize, #to_h, #to_hash
Constructor Details
This class inherits a constructor from ActiveAgent::Providers::OpenAI::Options
Instance Attribute Details
#base_url ⇒ String
Returns API endpoint (default: "https://router.requesty.ai/v1").
22 |
# File 'lib/active_agent/providers/requesty/options.rb', line 22 attribute :base_url, :string, as: "https://router.requesty.ai/v1" |