Start IDE connection after config initialization (#6018)

This commit is contained in:
Shreya Keshive
2025-08-11 18:09:47 -04:00
committed by GitHub
parent 94b6199943
commit c7fd4c4a96
3 changed files with 13 additions and 4 deletions

View File

@@ -10,3 +10,8 @@ export {
DEFAULT_GEMINI_FLASH_MODEL,
DEFAULT_GEMINI_EMBEDDING_MODEL,
} from './src/config/models.js';
export { logIdeConnection } from './src/telemetry/loggers.js';
export {
IdeConnectionEvent,
IdeConnectionType,
} from './src/telemetry/types.js';

View File

@@ -322,10 +322,6 @@ export class Config {
this.folderTrust = params.folderTrust ?? false;
this.ideMode = params.ideMode ?? false;
this.ideClient = IdeClient.getInstance();
if (this.ideMode && this.ideModeFeature) {
this.ideClient.connect();
logIdeConnection(this, new IdeConnectionEvent(IdeConnectionType.START));
}
this.loadMemoryFromIncludeDirectories =
params.loadMemoryFromIncludeDirectories ?? false;
this.chatCompression = params.chatCompression;