fix(ui): 完善界面交互与开发配置
This commit is contained in:
@@ -21,6 +21,7 @@ import React, { useMemo, useState } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import {
|
||||
ConsoleCard,
|
||||
ConsoleAlert,
|
||||
ConsoleTabs,
|
||||
} from '../../components/console/ConsolePrimitives';
|
||||
import ProfileTable from '../../components/smart-router/ProfileTable';
|
||||
@@ -68,15 +69,12 @@ const SmartRouterPage = () => {
|
||||
|
||||
return (
|
||||
<div className='smart-router-page'>
|
||||
<div className='smart-router-hero'>
|
||||
<div className='smart-router-eyebrow'>{t('Smart Router')}</div>
|
||||
<h1>{t('智能路由')}</h1>
|
||||
<p>
|
||||
{t(
|
||||
'一个虚拟模型名背后挂多个候选模型,按请求自动选择合适的模型。调用时把模型名写成 router/短名 即可。',
|
||||
)}
|
||||
</p>
|
||||
</div>
|
||||
<ConsoleAlert
|
||||
className='smart-router-intro'
|
||||
title={t(
|
||||
'一个虚拟模型名背后挂多个候选模型,按请求自动选择合适的模型。调用时把模型名写成 router/短名 即可。',
|
||||
)}
|
||||
/>
|
||||
<ConsoleCard className='smart-router-tabs-card'>
|
||||
<ConsoleTabs
|
||||
activeKey={activeKey}
|
||||
|
||||
Reference in New Issue
Block a user