Commit 2d53770
Changed files (1)
lib
elelem
tools
lib/elelem/tools/fork.rb
@@ -3,7 +3,7 @@
module Elelem
module Tools
def self.fork(agent, system_prompt:)
- Elelem::Agent.new(agent.client, toolbox: agent.toolbox, output: agent.output, input: agent.input, system_prompt: system_prompt)
+ Elelem::Agent.new(agent.provider, toolbox: agent.toolbox, output: agent.output, input: agent.input, system_prompt: system_prompt)
end
end
end