Reset memory of all DataOutputAgents for the last fix to take effect
user
```ruby
class ResetDataOutputAgents < ActiveRecord::Migration
  def up
    Agents::DataOutputAgent.find_each do |agent|
      agent.memory = {}
      agent.save(validate: false)
      agent.latest_events(true)
    end
  end
end
```
assistant