Class: Chocomint::Planner::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/chocomint/planner.rb

Overview

steps: 実行した各ステップ [{ tool:, arguments:, result:, status: }, ...] message: モデルがユーザーへ伝える最終メッセージ (finish 時のみ / 任意)。 incomplete: verifier 未達成のまま成果を返した (要求を満たしきれていない可能性がある) か。 true のとき UI は message を「注記」として控えめに扱う (通常の要約とは区別する)。

Instance Attribute Summary collapse

Instance Attribute Details

#attemptsObject

Returns the value of attribute attempts

Returns:

  • (Object)

    the current value of attempts



21
22
23
# File 'lib/chocomint/planner.rb', line 21

def attempts
  @attempts
end

#incompleteObject

Returns the value of attribute incomplete

Returns:

  • (Object)

    the current value of incomplete



21
22
23
# File 'lib/chocomint/planner.rb', line 21

def incomplete
  @incomplete
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



21
22
23
# File 'lib/chocomint/planner.rb', line 21

def message
  @message
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



21
22
23
# File 'lib/chocomint/planner.rb', line 21

def status
  @status
end

#stepsObject

Returns the value of attribute steps

Returns:

  • (Object)

    the current value of steps



21
22
23
# File 'lib/chocomint/planner.rb', line 21

def steps
  @steps
end

#trace_idObject

Returns the value of attribute trace_id

Returns:

  • (Object)

    the current value of trace_id



21
22
23
# File 'lib/chocomint/planner.rb', line 21

def trace_id
  @trace_id
end