Feat: Place the new mcp button at the end of the line. #10427 (#11170)

### What problem does this PR solve?

Feat: Place the new mcp button at the end of the line. #10427

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-11-11 17:11:32 +08:00
committed by GitHub
parent f441f8ffc2
commit 8ddeaca3d6
13 changed files with 24 additions and 29 deletions

View File

@ -212,7 +212,7 @@ function AgentForm({ node }: INextOperatorForm) {
<FormItem className="flex-1">
<FormLabel>{t('flow.maxRetries')}</FormLabel>
<FormControl>
<NumberInput {...field} max={8}></NumberInput>
<NumberInput {...field} max={8} min={0}></NumberInput>
</FormControl>
</FormItem>
)}
@ -237,7 +237,7 @@ function AgentForm({ node }: INextOperatorForm) {
<FormItem className="flex-1">
<FormLabel>{t('flow.maxRounds')}</FormLabel>
<FormControl>
<NumberInput {...field}></NumberInput>
<NumberInput {...field} min={0}></NumberInput>
</FormControl>
</FormItem>
)}