Class: Charai::Agent
- Inherits:
-
Object
- Object
- Charai::Agent
- Defined in:
- lib/charai/agent.rb
Defined Under Namespace
Classes: HandleMessageError, Message, Sandbox
Instance Attribute Summary collapse
-
#last_message ⇒ Object
readonly
Returns the value of attribute last_message.
Instance Method Summary collapse
- #<<(text) ⇒ Object
-
#initialize(input_tool:, openai_chat:) ⇒ Agent
constructor
A new instance of Agent.
Constructor Details
Instance Attribute Details
#last_message ⇒ Object (readonly)
Returns the value of attribute last_message.
23 24 25 |
# File 'lib/charai/agent.rb', line 23 def @last_message end |