mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-16 08:14:45 +00:00
fix(proxy): disambiguate activate without profile
This commit is contained in:
1 parent
46db668636
commit
630a493cca
3 files changed
+69
-9
No files matched your search
@@ -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 };
|
||||
|
||||
Reference in new issue
Block a user