When undo the latest message, it shows revert 1 message and several tool calls, but the real file is not reverted to the previous content.
An example here: https://opencode.ai/s/zOL38Zus
I have /undo the latest message:
but the file content is still:
# Demo File
This is a sample markdown file created as a demo.
- Item 1
- Item 2
- Item 3
## Code Block Example
```python
print("Hello, world!")
```
It happens with different models, including copilot/gpt-4.1, deepseek-reasoner, qwen3-coder.
When undo the latest message, it shows revert 1 message and several tool calls, but the real file is not reverted to the previous content.
An example here: https://opencode.ai/s/zOL38Zus
I have /undo the latest message:
but the file content is still:
It happens with different models, including copilot/gpt-4.1, deepseek-reasoner, qwen3-coder.