发布

  • fix(gemini): improve reasoning effort conversion for Gemini 3 models

    frostbyte_neo 发布于 2025-12-19 19:11:28 +00:00

    Refactors the reasoning effort conversion logic for Gemini models.
    The update specifically addresses how reasoning_effort is translated into Gemini 3 specific thinking configurations (thinkingLevel, includeThoughts) and ensures that numeric budgets are not incorrectly applied to level-based models.

    Changes include:

    • Differentiating conversion logic for Gemini 3 models versus other models.
    • Handling none, auto, and validated thinking levels for Gemini 3.
    • Maintaining existing conversion for models not using discrete thinking levels.
    下载附件