Class: RubyLLM::MCP::Completion
- Inherits:
-
Object
- Object
- RubyLLM::MCP::Completion
- Defined in:
- lib/ruby_llm/mcp/completion.rb
Instance Attribute Summary collapse
-
#argument ⇒ Object
readonly
Returns the value of attribute argument.
-
#has_more ⇒ Object
readonly
Returns the value of attribute has_more.
-
#total ⇒ Object
readonly
Returns the value of attribute total.
-
#values ⇒ Object
readonly
Returns the value of attribute values.
Instance Method Summary collapse
-
#initialize(argument:, values:, total:, has_more:) ⇒ Completion
constructor
A new instance of Completion.
Constructor Details
#initialize(argument:, values:, total:, has_more:) ⇒ Completion
Returns a new instance of Completion.
8 9 10 11 12 13 |
# File 'lib/ruby_llm/mcp/completion.rb', line 8 def initialize(argument:, values:, total:, has_more:) @argument = argument @values = values @total = total @has_more = has_more end |
Instance Attribute Details
#argument ⇒ Object (readonly)
Returns the value of attribute argument.
6 7 8 |
# File 'lib/ruby_llm/mcp/completion.rb', line 6 def argument @argument end |
#has_more ⇒ Object (readonly)
Returns the value of attribute has_more.
6 7 8 |
# File 'lib/ruby_llm/mcp/completion.rb', line 6 def has_more @has_more end |
#total ⇒ Object (readonly)
Returns the value of attribute total.
6 7 8 |
# File 'lib/ruby_llm/mcp/completion.rb', line 6 def total @total end |
#values ⇒ Object (readonly)
Returns the value of attribute values.
6 7 8 |
# File 'lib/ruby_llm/mcp/completion.rb', line 6 def values @values end |