fix: fix model deployment style issues, lint problems, and i18n gaps. (#2556)
* fix: fix model deployment style issues, lint problems, and i18n gaps. * fix: adjust the key not to be displayed on the frontend, tested via the backend. * fix: adjust the sidebar configuration logic to use the default configuration items if they are not defined.
This commit is contained in:
@@ -29,7 +29,6 @@ const ModelDeploymentPage = () => {
|
||||
connectionLoading,
|
||||
connectionOk,
|
||||
connectionError,
|
||||
apiKey,
|
||||
testConnection,
|
||||
} = useModelDeploymentSettings();
|
||||
|
||||
@@ -40,7 +39,7 @@ const ModelDeploymentPage = () => {
|
||||
connectionLoading={connectionLoading}
|
||||
connectionOk={connectionOk}
|
||||
connectionError={connectionError}
|
||||
onRetry={() => testConnection(apiKey)}
|
||||
onRetry={() => testConnection()}
|
||||
>
|
||||
<div className='mt-[60px] px-2'>
|
||||
<DeploymentsTable />
|
||||
|
||||
Reference in New Issue
Block a user