Sha256: ded851d56fcdfd56ff68dee4e57d274c89c2cceb7644fe6bdd0b3a455540a6e7
Contents?: true
Size: 560 Bytes
Versions: 3
Compression:
Stored size: 560 Bytes
Contents
# frozen_string_literal: true module Luo class AgentRunnerContext attr_accessor :user_input, :action_input, :response, :agent_results, :final_result, :messages, :retries def initialize @agent_results = [] @retries = 0 end def histories @histories ||= MemoryHistory.new end def histories=(histories) @histories = histories end def client @client end def client=(client) @client = client end def have_running_agents @running_agents ||= Set.new end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
luo-0.1.3 | lib/luo/agent_runner_context.rb |
luo-0.1.2 | lib/luo/agent_runner_context.rb |
luo-0.1.1 | lib/luo/agent_runner_context.rb |