Class: Opencode::Reply::Result
- Inherits:
-
Struct
- Object
- Struct
- Opencode::Reply::Result
- Defined in:
- lib/opencode/reply.rb
Overview
The denormalized output of a Reply once streaming completes (or recovery via Reply.distill produces an equivalent shape). Symmetric with Opencode::Turn::Result. Accessible by both message-style (‘result.full_text`) and hash-style (`result`) syntax — Struct supports both natively — but the typed shape stops callers from poking arbitrary keys.
Instance Attribute Summary collapse
-
#full_text ⇒ Object
Returns the value of attribute full_text.
-
#parts_json ⇒ Object
Returns the value of attribute parts_json.
-
#reasoning_text ⇒ Object
Returns the value of attribute reasoning_text.
-
#tool_parts ⇒ Object
Returns the value of attribute tool_parts.
Instance Attribute Details
#full_text ⇒ Object
Returns the value of attribute full_text
69 70 71 |
# File 'lib/opencode/reply.rb', line 69 def full_text @full_text end |
#parts_json ⇒ Object
Returns the value of attribute parts_json
69 70 71 |
# File 'lib/opencode/reply.rb', line 69 def parts_json @parts_json end |
#reasoning_text ⇒ Object
Returns the value of attribute reasoning_text
69 70 71 |
# File 'lib/opencode/reply.rb', line 69 def reasoning_text @reasoning_text end |
#tool_parts ⇒ Object
Returns the value of attribute tool_parts
69 70 71 |
# File 'lib/opencode/reply.rb', line 69 def tool_parts @tool_parts end |