()
| 335 | } |
| 336 | |
| 337 | export function isSpeculationEnabled(): boolean { |
| 338 | const enabled = |
| 339 | process.env.USER_TYPE === 'ant' && |
| 340 | (getGlobalConfig().speculationEnabled ?? true) |
| 341 | logForDebugging(`[Speculation] enabled=${enabled}`) |
| 342 | return enabled |
| 343 | } |
| 344 | |
| 345 | async function generatePipelinedSuggestion( |
| 346 | context: REPLHookContext, |
no test coverage detected