fix(proxy): disambiguate activate without profile

This commit is contained in:
Wooseong Kim committed 2026-04-20 13:28:25 +09:00
1 parent 46db668636
commit 630a493cca
3 files changed
+69 -9

No files matched your search

+1 -1
View File
@@ -185,7 +185,7 @@ export async function getOpenAICompatProxyStatus(
const statuses = await listOpenAICompatProxyStatuses();
const running = statuses.filter((status) => status.running);
if (running.length === 1) {
return running[0] || { running: false };
return running[0];
}
if (running.length > 1) {
return { running: true };