mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
AIX: Anthropic: Effort is GA - no header needed
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user