Class: Google::ADK::InMemoryRunner
- Defined in:
- lib/google/adk/runner.rb
Overview
In-memory runner with built-in session service
Instance Attribute Summary
Attributes inherited from Runner
#agent, #app_name, #plugins, #session_service
Instance Method Summary collapse
-
#initialize(agent:, app_name:, plugins: []) ⇒ InMemoryRunner
constructor
Initialize in-memory runner.
Methods inherited from Runner
#rewind_async, #run, #run_async, #run_live
Constructor Details
#initialize(agent:, app_name:, plugins: []) ⇒ InMemoryRunner
Initialize in-memory runner
200 201 202 203 204 205 206 207 |
# File 'lib/google/adk/runner.rb', line 200 def initialize(agent:, app_name:, plugins: []) super( agent: agent, app_name: app_name, session_service: InMemorySessionService.new, plugins: plugins ) end |