()
| 27 | } |
| 28 | |
| 29 | export function buildQueryConfig(): QueryConfig { |
| 30 | return { |
| 31 | sessionId: getSessionId(), |
| 32 | gates: { |
| 33 | streamingToolExecution: checkStatsigFeatureGate_CACHED_MAY_BE_STALE( |
| 34 | 'tengu_streaming_tool_execution2', |
| 35 | ), |
| 36 | emitToolUseSummaries: isEnvTruthy( |
| 37 | process.env.CLAUDE_CODE_EMIT_TOOL_USE_SUMMARIES, |
| 38 | ), |
| 39 | isAnt: process.env.USER_TYPE === 'ant', |
| 40 | // Inlined from fastMode.ts to avoid pulling its heavy module graph |
| 41 | // (axios, settings, auth, model, oauth, config) into test shards that |
| 42 | // didn't previously load it — changes init order and breaks unrelated tests. |
| 43 | fastModeEnabled: !isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_FAST_MODE), |
| 44 | }, |
| 45 | } |
| 46 | } |
| 47 |
no test coverage detected