* Deletes the current code index.
()
| 203 | * Deletes the current code index. |
| 204 | */ |
| 205 | public async delete(): Promise<void> { |
| 206 | await fs.rm(this.folderPath, { recursive: true }); |
| 207 | this._config = undefined; |
| 208 | this._keys = undefined; |
| 209 | this._index = undefined; |
| 210 | } |
| 211 | |
| 212 | // LLM-REGION |
| 213 |