@@ -15,7 +15,6 @@ import {
1515 PROMPT_CACHING_SCOPE_BETA_HEADER ,
1616 REDACT_THINKING_BETA_HEADER ,
1717 STRUCTURED_OUTPUTS_BETA_HEADER ,
18- SUMMARIZE_CONNECTOR_TEXT_BETA_HEADER ,
1918 TOKEN_EFFICIENT_TOOLS_BETA_HEADER ,
2019 TOOL_SEARCH_BETA_HEADER_1P ,
2120 TOOL_SEARCH_BETA_HEADER_3P ,
@@ -276,27 +275,6 @@ export const getAllModelBetas = memoize((model: string): string[] => {
276275 betaHeaders . push ( REDACT_THINKING_BETA_HEADER )
277276 }
278277
279- // POC: server-side connector-text summarization (anti-distillation). The
280- // API buffers assistant text between tool calls, summarizes it, and returns
281- // the summary with a signature so the original can be restored on subsequent
282- // turns — same mechanism as thinking blocks. Ant-only while we measure
283- // TTFT/TTLT/capacity; betas already flow to tengu_api_success for splitting.
284- // Backend independently requires Capability.ANTHROPIC_INTERNAL_RESEARCH.
285- //
286- // USE_CONNECTOR_TEXT_SUMMARIZATION is tri-state: =1 forces on (opt-in even
287- // if GB is off), =0 forces off (opt-out of a GB rollout you were bucketed
288- // into), unset defers to GB.
289- if (
290- SUMMARIZE_CONNECTOR_TEXT_BETA_HEADER &&
291- process . env . USER_TYPE === 'ant' &&
292- includeFirstPartyOnlyBetas &&
293- ! isEnvDefinedFalsy ( process . env . USE_CONNECTOR_TEXT_SUMMARIZATION ) &&
294- ( isEnvTruthy ( process . env . USE_CONNECTOR_TEXT_SUMMARIZATION ) ||
295- getFeatureValue_CACHED_MAY_BE_STALE ( 'tengu_slate_prism' , false ) )
296- ) {
297- betaHeaders . push ( SUMMARIZE_CONNECTOR_TEXT_BETA_HEADER )
298- }
299-
300278 // Add context management beta for tool clearing (ant opt-in) or thinking preservation
301279 const antOptedIntoToolClearing =
302280 isEnvTruthy ( process . env . USE_API_CONTEXT_MANAGEMENT ) &&
0 commit comments