Class: Ace::LLM::Molecules::ModelLimitResolver::ResolveResult
- Inherits:
-
Struct
- Object
- Struct
- Ace::LLM::Molecules::ModelLimitResolver::ResolveResult
- Defined in:
- lib/ace/llm/molecules/model_limit_resolver.rb
Instance Attribute Summary collapse
-
#context_limit ⇒ Object
Returns the value of attribute context_limit.
-
#model ⇒ Object
Returns the value of attribute model.
-
#original_target ⇒ Object
Returns the value of attribute original_target.
-
#output_limit ⇒ Object
Returns the value of attribute output_limit.
-
#provider ⇒ Object
Returns the value of attribute provider.
-
#source ⇒ Object
Returns the value of attribute source.
Instance Method Summary collapse
Instance Attribute Details
#context_limit ⇒ Object
Returns the value of attribute context_limit
14 15 16 |
# File 'lib/ace/llm/molecules/model_limit_resolver.rb', line 14 def context_limit @context_limit end |
#model ⇒ Object
Returns the value of attribute model
14 15 16 |
# File 'lib/ace/llm/molecules/model_limit_resolver.rb', line 14 def model @model end |
#original_target ⇒ Object
Returns the value of attribute original_target
14 15 16 |
# File 'lib/ace/llm/molecules/model_limit_resolver.rb', line 14 def original_target @original_target end |
#output_limit ⇒ Object
Returns the value of attribute output_limit
14 15 16 |
# File 'lib/ace/llm/molecules/model_limit_resolver.rb', line 14 def output_limit @output_limit end |
#provider ⇒ Object
Returns the value of attribute provider
14 15 16 |
# File 'lib/ace/llm/molecules/model_limit_resolver.rb', line 14 def provider @provider end |
#source ⇒ Object
Returns the value of attribute source
14 15 16 |
# File 'lib/ace/llm/molecules/model_limit_resolver.rb', line 14 def source @source end |
Instance Method Details
#full_model ⇒ Object
23 24 25 26 27 |
# File 'lib/ace/llm/molecules/model_limit_resolver.rb', line 23 def full_model return nil if provider.to_s.empty? || model.to_s.empty? "#{provider}:#{model}" end |