Class: Omnibot::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/omnibot/result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fast_pathObject

Returns the value of attribute fast_path

Returns:

  • (Object)

    the current value of fast_path



5
6
7
# File 'lib/omnibot/result.rb', line 5

def fast_path
  @fast_path
end

#messagesObject

Returns the value of attribute messages

Returns:

  • (Object)

    the current value of messages



5
6
7
# File 'lib/omnibot/result.rb', line 5

def messages
  @messages
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



5
6
7
# File 'lib/omnibot/result.rb', line 5

def text
  @text
end

#tool_callsObject

Returns the value of attribute tool_calls

Returns:

  • (Object)

    the current value of tool_calls



5
6
7
# File 'lib/omnibot/result.rb', line 5

def tool_calls
  @tool_calls
end

#usageObject

Returns the value of attribute usage

Returns:

  • (Object)

    the current value of usage



5
6
7
# File 'lib/omnibot/result.rb', line 5

def usage
  @usage
end

Instance Method Details

#fast_path?Boolean

Returns:

  • (Boolean)


6
# File 'lib/omnibot/result.rb', line 6

def fast_path? = !!fast_path