Class: Rixie::Agent::Thought

Inherits:
Data
  • Object
show all
Defined in:
lib/rixie/agent.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



5
6
7
# File 'lib/rixie/agent.rb', line 5

def content
  @content
end

#tool_callsObject (readonly)

Returns the value of attribute tool_calls

Returns:

  • (Object)

    the current value of tool_calls



5
6
7
# File 'lib/rixie/agent.rb', line 5

def tool_calls
  @tool_calls
end

#tool_resultsObject (readonly)

Returns the value of attribute tool_results

Returns:

  • (Object)

    the current value of tool_results



5
6
7
# File 'lib/rixie/agent.rb', line 5

def tool_results
  @tool_results
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



5
6
7
# File 'lib/rixie/agent.rb', line 5

def type
  @type
end

Instance Method Details

#finish?Boolean

Returns:

  • (Boolean)


7
# File 'lib/rixie/agent.rb', line 7

def finish? = type == :finish

#tool_call?Boolean

Returns:

  • (Boolean)


6
# File 'lib/rixie/agent.rb', line 6

def tool_call? = type == :tool_call