Agent mode work halfway bug

When I use the 「agent mode」 and 「auto select」 model.

Sometimes I finish the work halfway, it modifies my file halfway and the whole project crashes

ENV
version: 0.49.6
submit: 1.96.2
date: 0781e811de386a0c5bcb07ceb259df8ff8246a50
Electron: 2025-04-25T05:07:16.071Z
ElectronBuildId: 34.3.4
Chromium: undefined
Node.js: 132.0.6834.210
V8: 20.18.3
OS: 13.2.152.41-electron.0

When I select claude, it works fine.

Is there something wrong with the quality of the model selected by the automatic mode?