Sha256: 75850ae31117f805e4dd9294b2046481aa66bfd2da0b93a1bc7cfb66352b6081
Contents?: true
Size: 527 Bytes
Versions: 4
Compression:
Stored size: 527 Bytes
Contents
module OpenAISwarm class Agent attr_accessor :name, :model, :instructions, :functions, :tool_choice, :parallel_tool_calls def initialize( name: "Agent", model: "gpt-4", instructions: "You are a helpful agent.", functions: [], tool_choice: nil, parallel_tool_calls: true ) @name = name @model = model @instructions = instructions @functions = functions @tool_choice = tool_choice @parallel_tool_calls = parallel_tool_calls end end end
Version data entries
4 entries across 4 versions & 1 rubygems