OpenHands/agent-canvas

[Bug]: Condenser Max Number of Events indicator can go under 0

クローズ

#863 opened on 2026/05/28

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (26 件のフォーク)github user discovery
buggood first issue

Repository metrics

Stars
 (43 個のスター)
PR merge metrics
 (平均マージ 2d 10h) (30d で 106 merged PRs)

説明

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

  1. go to Settings -> Condenser -> Advanced
  2. 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

コントリビューターガイド