mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-09-02 01:20:23 +08:00
polish: admin panel UI improvements
- Provider logos in credential rows (shared ProviderLogo component, extracted from model-config-dialog) - Scroll-spy active state in the sidebar nav - Green success state in the save bar that clears after a few seconds - Wider content column (max-w-6xl) for less wasted space on desktop
This commit is contained in:
@@ -76,6 +76,30 @@ export const SETTING_GROUPS: SettingGroup[] = [
|
||||
},
|
||||
]
|
||||
|
||||
// Provider name for each subgroup in the providers group (for logos)
|
||||
export const SUBGROUP_PROVIDERS: Record<string, string> = {
|
||||
"AWS Bedrock": "bedrock",
|
||||
OpenAI: "openai",
|
||||
Anthropic: "anthropic",
|
||||
Google: "google",
|
||||
"Vertex AI": "vertexai",
|
||||
"Azure OpenAI": "azure",
|
||||
Ollama: "ollama",
|
||||
OpenRouter: "openrouter",
|
||||
DeepSeek: "deepseek",
|
||||
SiliconFlow: "siliconflow",
|
||||
SGLang: "sglang",
|
||||
"Vercel AI Gateway": "gateway",
|
||||
Doubao: "doubao",
|
||||
ModelScope: "modelscope",
|
||||
GLM: "glm",
|
||||
Qwen: "qwen",
|
||||
Kimi: "kimi",
|
||||
Qiniu: "qiniu",
|
||||
MiniMax: "minimax",
|
||||
Novita: "novita",
|
||||
}
|
||||
|
||||
const PROVIDER_OPTIONS = [
|
||||
"bedrock",
|
||||
"openai",
|
||||
|
||||
Reference in New Issue
Block a user