(private config: Config)
| 126 | private forceFullIdeContext = true; |
| 127 | |
| 128 | constructor(private config: Config) { |
| 129 | if (config.getProxy()) { |
| 130 | setGlobalDispatcher(new ProxyAgent(config.getProxy() as string)); |
| 131 | } |
| 132 | |
| 133 | this.embeddingModel = config.getEmbeddingModel(); |
| 134 | this.loopDetector = new LoopDetectionService(config); |
| 135 | this.lastPromptId = this.config.getSessionId(); |
| 136 | } |
| 137 | |
| 138 | async initialize(contentGeneratorConfig: ContentGeneratorConfig) { |
| 139 | this.contentGenerator = await createContentGenerator( |
nothing calls this directly
no test coverage detected