Feat: Render RewriteQuestionForm with shadcn-ui #3221 (#5551)

### What problem does this PR solve?

Feat: Render RewriteQuestionForm with shadcn-ui #3221
### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-03-03 17:14:19 +08:00
committed by GitHub
parent b67697b6f2
commit 65d7c19979
3 changed files with 69 additions and 34 deletions

View File

@ -41,7 +41,9 @@ export function MessageHistoryWindowSizeFormField() {
name={'message_history_window_size'}
render={({ field }) => (
<FormItem>
<FormLabel>{t('flow.messageHistoryWindowSize')}</FormLabel>
<FormLabel tooltip={t('flow.messageHistoryWindowSizeTip')}>
{t('flow.messageHistoryWindowSize')}
</FormLabel>
<FormControl>
<Input {...field} type={'number'}></Input>
</FormControl>