()
| 215 | } |
| 216 | |
| 217 | async addDirectoryContext(): Promise<void> { |
| 218 | if (!this.chat) { |
| 219 | return; |
| 220 | } |
| 221 | |
| 222 | this.getChat().addHistory({ |
| 223 | role: 'user', |
| 224 | parts: [{ text: await getDirectoryContextString(this.config) }], |
| 225 | }); |
| 226 | } |
| 227 | |
| 228 | async startChat(extraHistory?: Content[]): Promise<AnusChat> { |
| 229 | this.forceFullIdeContext = true; |
no test coverage detected