Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
fix(webui): align preset API label and disclosure icon
chengyongru55ff1d8d1ff4
diff --git a/webui/src/components/settings/models/ModelAPIControl.tsx b/webui/src/components/settings/models/ModelAPIControl.tsxindex 8ad511ddb..9d2dab303 100644--- a/webui/src/components/settings/models/ModelAPIControl.tsx+++ b/webui/src/components/settings/models/ModelAPIControl.tsx@@ -80,7 +80,7 @@ export function ModelAPIControl({</SelectContent></Select>) : (- <span className="block text-[13px] text-muted-foreground sm:text-right">{fixedLabel}</span>+ <span className="block pe-3 text-[13px] text-muted-foreground sm:text-right">{fixedLabel}</span>)}</SettingsRow>{configurable && selectedAPI === "responses" && (!requestAPIs || requestAPIs.includes("chat_completions")) ? (diff --git a/webui/src/components/settings/models/ModelsSettings.tsx b/webui/src/components/settings/models/ModelsSettings.tsxindex 20250fe8d..e4a45415b 100644--- a/webui/src/components/settings/models/ModelsSettings.tsx+++ b/webui/src/components/settings/models/ModelsSettings.tsx@@ -547,7 +547,7 @@ export function ModelsSettings({</span><ChevronDownclassName={cn(- "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200 motion-reduce:transition-none",+ "me-3 h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200 motion-reduce:transition-none",advancedOpen && "rotate-180",)}aria-hidden