fix(web): explicit memory pagesize
This commit is contained in:
@@ -178,6 +178,7 @@ const ModelConfigModal = forwardRef<ModelConfigModalRef, ModelConfigModalProps>(
|
|||||||
name="thinking_budget_tokens"
|
name="thinking_budget_tokens"
|
||||||
label={t('application.thinking_budget_tokens')}
|
label={t('application.thinking_budget_tokens')}
|
||||||
hidden={!['model', 'chat'].includes(source) || !(values?.deep_thinking || values?.capability?.includes('thinking'))}
|
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={[
|
rules={[
|
||||||
{ required: values?.deep_thinking, message: t('common.pleaseEnter') },
|
{ required: values?.deep_thinking, message: t('common.pleaseEnter') },
|
||||||
{
|
{
|
||||||
@@ -192,7 +193,7 @@ const ModelConfigModal = forwardRef<ModelConfigModalRef, ModelConfigModalProps>(
|
|||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
<RbSlider
|
<RbSlider
|
||||||
step={0}
|
step={1}
|
||||||
min={0}
|
min={0}
|
||||||
max={32000}
|
max={32000}
|
||||||
isInput={true}
|
isInput={true}
|
||||||
|
|||||||
@@ -276,7 +276,7 @@ const ExplicitDetail: FC = () => {
|
|||||||
{total > PAGE_SIZE && (
|
{total > PAGE_SIZE && (
|
||||||
<Pagination
|
<Pagination
|
||||||
current={currentPagination.page}
|
current={currentPagination.page}
|
||||||
pageSize={PAGE_SIZE}
|
pageSize={currentPagination.pagesize}
|
||||||
total={total}
|
total={total}
|
||||||
onChange={handlePageChange}
|
onChange={handlePageChange}
|
||||||
size="small"
|
size="small"
|
||||||
|
|||||||
Reference in New Issue
Block a user