Module: LLM::Sequel::Agent::InstanceMethods

Defined in:
lib/llm/sequel/agent.rb

Instance Method Summary collapse

Instance Method Details

#console(**params) Also known as: repl

Note:

This method does not persist to the database, but it can inspect and alter runtime state in a way that is temporary.

This method returns an undefined value.

Parameters:

  • name (String) —

    The agent's name. Defaults to Agent#name.

  • path (String) —

    The path to a file where runtime state is read from, and written to

  • tools (Array<LLM::Tool>) —

    Extra tools to attach for the console session

  • tracer (Boolean) —

    When true, the tracer is kept alive during the console session. Default is false.



83
84
85
# File 'lib/llm/sequel/agent.rb', line 83

def console(**params)
  __context__.console(**params)
end