Commit 740cf9b

mo khan <mo@mokhan.ca>
2026-01-21 17:03:18
fix: remove duplicate system prompt
1 parent 9a281b1
Changed files (1)
lib
elelem
lib/elelem/agent.rb
@@ -11,7 +11,7 @@ module Elelem
       @client = client
       @toolbox = toolbox
       @terminal = terminal || Terminal.new(commands: COMMANDS)
-      @history = history || [{ role: "system", content: system_prompt }]
+      @history = history || []
       @toolbox.add("task", task_tool)
       @mcp = MCP.new
       @mcp.tools.each { |name, tool| @toolbox.add(name, tool) }