fix(ui): set task input max length to 1000 (#292)

This commit is contained in:
Ryanba
2026-03-25 00:23:59 +08:00
committed by GitHub
parent 53c9149d06
commit 583f757f0a
3 changed files with 7 additions and 5 deletions

View File

@@ -369,6 +369,7 @@ export class Panel {
}
#createWrapper(): HTMLElement {
const taskInputMaxLength = 1000
const wrapper = document.createElement('div')
wrapper.id = 'page-agent-runtime_agent-panel'
wrapper.className = styles.wrapper
@@ -406,7 +407,7 @@ export class Panel {
<input
type="text"
class="${styles.taskInput}"
maxlength="200"
maxlength="${taskInputMaxLength}"
/>
</div>
</div>