Sha256: 0ebf726df9469213ee9fc137a5c793770e0a517ad8bd56fe4e5ba9514d454fea

Contents?: true

Size: 272 Bytes

Versions: 17

Compression:

Stored size: 272 Bytes

Contents

module OpenAISwarm
  class Response
    attr_accessor :messages, :agent, :context_variables

    def initialize(messages: [], agent: nil, context_variables: {})
      @messages = messages
      @agent = agent
      @context_variables = context_variables
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
ruby-openai-swarm-0.4.0.2 lib/ruby-openai-swarm/response.rb
ruby-openai-swarm-0.4.0.1 lib/ruby-openai-swarm/response.rb
ruby-openai-swarm-0.4.0 lib/ruby-openai-swarm/response.rb
ruby-openai-swarm-0.3.1 lib/ruby-openai-swarm/response.rb
ruby-openai-swarm-0.3.0.1 lib/ruby-openai-swarm/response.rb
ruby-openai-swarm-0.3.0 lib/ruby-openai-swarm/response.rb
ruby-openai-swarm-0.2.9 lib/ruby-openai-swarm/response.rb
ruby-openai-swarm-0.2.8 lib/ruby-openai-swarm/response.rb
ruby-openai-swarm-0.2.7 lib/ruby-openai-swarm/response.rb
ruby-openai-swarm-0.2.6 lib/ruby-openai-swarm/response.rb
ruby-openai-swarm-0.2.5 lib/ruby-openai-swarm/response.rb
ruby-openai-swarm-0.2.4 lib/ruby-openai-swarm/response.rb
ruby-openai-swarm-0.2.3 lib/ruby-openai-swarm/response.rb
ruby-openai-swarm-0.2.2 lib/ruby-openai-swarm/response.rb
ruby-openai-swarm-0.2.1 lib/ruby-openai-swarm/response.rb
ruby-openai-swarm-0.2.0 lib/ruby-openai-swarm/response.rb
ruby-openai-swarm-0.1.0 lib/ruby-openai-swarm/response.rb