OpenHands/agent-canvas
[Bug]: Condenser Max Number of Events indicator can go under 0
已关闭
#863 创建于 2026年5月28日
buggood first issue
仓库指标
- 星标
- (43 个星标)
- PR 合并指标
- (平均合并 2天 10小时) (30 天内合并 106 个 PR)
描述
Operating System
macOS
Installation Method
From source (npm run dev / npm run dev:minimal)
Agent Canvas Version
main
Bug Description
The window to pick the Max Number of Events can go under 0, which is wrong.
However, if I try to save, then an error appears (but not a clear one)
Steps to Reproduce
- go to Settings -> Condenser -> Advanced
- put a negative number in the Max Number of Events window
Actual Behavior
We can put a negative number in this window
Expected Behavior
It should be somewhat blocked at 0, such that the user cannot select a negative number (in order to prevent errors when saving)
Relevant Logs
Screenshots
https://github.com/user-attachments/assets/37cfb63c-df34-4503-9ac1-3a78daa561e0
Additional Context
No response