fix(agent,webui): show agent error messages and fix IME enter key bug

This commit is contained in:
yiling
2026-06-03 11:46:24 +08:00
parent 8683bc463e
commit 9dc2d07151
3 changed files with 50 additions and 1 deletions
@@ -279,6 +279,8 @@ export const ChatInput = React.forwardRef<HTMLDivElement, ChatInputProps>(
}
const handleKeyDown = (e: React.KeyboardEvent<HTMLDivElement>) => {
if (e.nativeEvent.isComposing) return
if (showMentionList && filteredEntities.length > 0) {
if (e.key === 'ArrowUp') {
e.preventDefault()