mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-20 19:50:51 +08:00
fix(ai-providers): gate Claude models input and refine excluded tag styles
This commit is contained in:
@@ -404,8 +404,17 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.excludedModelTag {
|
.excludedModelTag {
|
||||||
background: rgba(251, 191, 36, 0.2);
|
background: rgba(251, 191, 36, 0.22);
|
||||||
border-color: rgba(251, 191, 36, 0.4);
|
border-color: rgba(251, 191, 36, 0.55);
|
||||||
|
color: #fde68a;
|
||||||
|
|
||||||
|
.modelName {
|
||||||
|
color: #fde68a;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.excludedModelsLabel {
|
||||||
|
color: #fde68a;
|
||||||
}
|
}
|
||||||
|
|
||||||
.apiKeyEntryCard {
|
.apiKeyEntryCard {
|
||||||
|
|||||||
@@ -1897,6 +1897,7 @@ export function AiProvidersPage() {
|
|||||||
keyPlaceholder={t('common.custom_headers_key_placeholder')}
|
keyPlaceholder={t('common.custom_headers_key_placeholder')}
|
||||||
valuePlaceholder={t('common.custom_headers_value_placeholder')}
|
valuePlaceholder={t('common.custom_headers_value_placeholder')}
|
||||||
/>
|
/>
|
||||||
|
{modal?.type === 'claude' && (
|
||||||
<div className="form-group">
|
<div className="form-group">
|
||||||
<label>{t('ai_providers.claude_models_label')}</label>
|
<label>{t('ai_providers.claude_models_label')}</label>
|
||||||
<ModelInputList
|
<ModelInputList
|
||||||
@@ -1910,6 +1911,7 @@ export function AiProvidersPage() {
|
|||||||
disabled={saving}
|
disabled={saving}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
<div className="form-group">
|
<div className="form-group">
|
||||||
<label>{t('ai_providers.excluded_models_label')}</label>
|
<label>{t('ai_providers.excluded_models_label')}</label>
|
||||||
<textarea
|
<textarea
|
||||||
|
|||||||
Reference in New Issue
Block a user