Class: ActiveAgent::Providers::OpenRouter::Requests::Plugin
- Inherits:
-
Common::BaseModel
- Object
- Common::BaseModel
- ActiveAgent::Providers::OpenRouter::Requests::Plugin
- Defined in:
- lib/active_agent/providers/open_router/requests/plugin.rb
Overview
Plugin configuration for OpenRouter requests
OpenRouter supports plugins that enhance model capabilities. Currently supports the file-parser plugin for processing PDF documents.
Instance Attribute Summary collapse
-
#id ⇒ String
Plugin identifier (currently only ‘file-parser’ is supported).
-
#pdf ⇒ Plugins::PdfConfig?
PDF processing configuration.
Method Summary
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::Common::BaseModel
Instance Attribute Details
#id ⇒ String
Returns plugin identifier (currently only ‘file-parser’ is supported).
29 |
# File 'lib/active_agent/providers/open_router/requests/plugin.rb', line 29 attribute :id, :string |
#pdf ⇒ Plugins::PdfConfig?
Returns PDF processing configuration.
33 |
# File 'lib/active_agent/providers/open_router/requests/plugin.rb', line 33 attribute :pdf, Plugins::PdfConfigType.new |