(contentGeneratorConfig: ContentGeneratorConfig)
| 136 | } |
| 137 | |
| 138 | async initialize(contentGeneratorConfig: ContentGeneratorConfig) { |
| 139 | this.contentGenerator = await createContentGenerator( |
| 140 | contentGeneratorConfig, |
| 141 | this.config, |
| 142 | this.config.getSessionId(), |
| 143 | ); |
| 144 | this.chat = await this.startChat(); |
| 145 | } |
| 146 | |
| 147 | getContentGenerator(): ContentGenerator { |
| 148 | if (!this.contentGenerator) { |
no test coverage detected