Fix bug with fast generation and stop button
Changes before implementing better agent vision