Member Junction
    Preparing search index...

    Function MapEffortLevelToAnthropicEffort

    • Converts MJ's effort level to an Anthropic output_config.effort value.

      Numeric 1-100 uses the same three bands as the OpenAI, Groq and Cerebras drivers (≤33 low, ≤66 medium, else high) so an effortLevel: 50 means the same thing on every provider. Named values pass through, which is the only way to reach 'max'. 'none' — OpenAI's vocabulary for "do not reason" — has no Anthropic equivalent and is answered by omitting thinking altogether; callers see that as undefined here.

      Parameters

      • effortLevel: string

      Returns "low" | "medium" | "high" | "max"