fix(web): explicit memory pagesize

This commit is contained in:
zhaoying
2026-04-23 15:58:57 +08:00
parent 8deb69b595
commit fe2c975d61
2 changed files with 3 additions and 2 deletions

View File

@@ -178,6 +178,7 @@ const ModelConfigModal = forwardRef<ModelConfigModalRef, ModelConfigModalProps>(
name="thinking_budget_tokens"
label={t('application.thinking_budget_tokens')}
hidden={!['model', 'chat'].includes(source) || !(values?.deep_thinking || values?.capability?.includes('thinking'))}
extra={<>{t('application.range')}: [{0}, {t(`application.max_tokens`)}: {values?.max_tokens}]</>}
rules={[
{ required: values?.deep_thinking, message: t('common.pleaseEnter') },
{
@@ -192,7 +193,7 @@ const ModelConfigModal = forwardRef<ModelConfigModalRef, ModelConfigModalProps>(
]}
>
<RbSlider
step={0}
step={1}
min={0}
max={32000}
isInput={true}

View File

@@ -276,7 +276,7 @@ const ExplicitDetail: FC = () => {
{total > PAGE_SIZE && (
<Pagination
current={currentPagination.page}
pageSize={PAGE_SIZE}
pageSize={currentPagination.pagesize}
total={total}
onChange={handlePageChange}
size="small"