fix(proxy): retain explicit profile names in status

This commit is contained in:
Wooseong Kim committed 2026-04-20 15:30:51 +09:00
1 parent 391bdddc22
commit afcb1abf9e
2 files changed
+7 -1

No files matched your search

@@ -464,4 +464,10 @@ describe('openai proxy daemon lifecycle', () => {
expect(fs.existsSync(getLegacyOpenAICompatProxyPidPath())).toBe(false);
expect(fs.existsSync(getLegacyOpenAICompatProxySessionPath())).toBe(false);
}, 35000);
it('keeps the requested profile name in stopped status results', async () => {
const status = await getOpenAICompatProxyStatus('never-started');
expect(status.running).toBe(false);
expect(status.profileName).toBe('never-started');
});
});