feat(cli): refactor about dialog and add proxy field

This commit is contained in:
tanzhenxin 2026-01-19 10:54:45 +08:00
parent c87197d420
commit f0b2a7ef98
15 changed files with 270 additions and 176 deletions

View file

@ -58,6 +58,7 @@ describe('systemInfo', () => {
getIdeMode: vi.fn().mockReturnValue(true),
getSessionId: vi.fn().mockReturnValue('test-session-id'),
getAuthType: vi.fn().mockReturnValue('test-auth'),
getProxy: vi.fn().mockReturnValue(undefined),
getContentGeneratorConfig: vi.fn().mockReturnValue({
baseUrl: 'https://api.openai.com',
}),
@ -235,6 +236,7 @@ describe('systemInfo', () => {
selectedAuthType: 'test-auth',
ideClient: 'test-ide',
sessionId: 'test-session-id',
proxy: undefined,
});
});