Class: OmniAgent::Eval::Run

Inherits:
Object
  • Object
show all
Defined in:
lib/omni_agent/eval/run.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(output:, tool_calls:, agent:) ⇒ Run

Returns a new instance of Run.



6
7
8
9
10
# File 'lib/omni_agent/eval/run.rb', line 6

def initialize(output:, tool_calls:, agent:)
  @output = output
  @tool_calls = tool_calls
  @agent = agent
end

Instance Attribute Details

#agentObject (readonly)

Returns the value of attribute agent.



4
5
6
# File 'lib/omni_agent/eval/run.rb', line 4

def agent
  @agent
end

#outputObject (readonly)

Returns the value of attribute output.



4
5
6
# File 'lib/omni_agent/eval/run.rb', line 4

def output
  @output
end

#tool_callsObject (readonly)

Returns the value of attribute tool_calls.



4
5
6
# File 'lib/omni_agent/eval/run.rb', line 4

def tool_calls
  @tool_calls
end