AIX: Anthropic: Effort is GA - no header needed

This commit is contained in:
Enrico Ros
2026-02-17 17:59:23 -08:00
parent 79046b808b
commit da01b59ae3
2 changed files with 0 additions and 6 deletions
@@ -63,7 +63,6 @@ export function createChatGenerateDispatch(access: AixAPI_Access, model: AixAPI_
modelIdForBetaFeatures: model.id,
vndAntWebFetch: model.vndAntWebFetch === 'auto',
vndAnt1MContext: model.vndAnt1MContext === true,
vndAntEffort: !!model.vndAntEffort,
enableSkills: !!model.vndAntSkills,
enableFastMode: model.vndAntInfSpeed === 'fast',
enableStrictOutputs: !!model.strictJsonOutput || !!model.strictToolInvocations, // [Anthropic, 2025-11-13] for both JSON output and grammar-constrained tool invocations inputs
@@ -82,7 +82,6 @@ export type AnthropicHeaderOptions = {
modelIdForBetaFeatures?: string;
vndAntWebFetch?: boolean;
vndAnt1MContext?: boolean;
vndAntEffort?: boolean; // [Anthropic, effort-2025-11-24]
enableSkills?: boolean;
enableCodeExecution?: boolean;
enableFastMode?: boolean; // [Anthropic, fast-mode-2026-02-01]
@@ -173,10 +172,6 @@ function _anthropicHeaders(options?: AnthropicHeaderOptions): Record<string, str
if (options?.enableFastMode)
betaFeatures.push('fast-mode-2026-02-01');
// [Anthropic, 2025-11-24] Add beta feature for effort parameter (Claude Opus 4.5+)
if (options?.vndAntEffort)
betaFeatures.push('effort-2025-11-24');
// [Anthropic, 2025-11-24] Add beta feature for Advanced Tool Use (Tool Search Tool, Programmatic Tool Calling)
// Same beta header covers both features: tool discovery and programmatic calling from code execution
if (options?.enableToolSearch || options?.enableProgrammaticToolCalling)