Skip to content

Conversation

@Chesars
Copy link
Contributor

@Chesars Chesars commented Nov 12, 2025

Titel

docs(openai): Document reasoning_effort summary field options

Relevant issues

Related to #16210 - Adds missing documentation for reasoning_effort parameter changes

Type

📖 Documentation

Changes

This PR adds comprehensive documentation for the reasoning_effort parameter changes introduced in #16210, which removed the automatic addition of the summary field to prevent 400 errors for unverified organizations.

Documentation Updates (docs/my-website/docs/providers/openai.md)

New section: "Advanced: Using reasoning_effort with summary field"

  1. Format Options

    • String format (default): reasoning_effort="high" - Only sets effort level, no summary field
    • Dict format: reasoning_effort={"effort": "high", "summary": "auto"} - Allows explicit opt-in to summary
  2. Summary Field Options

    • "auto" - System automatically determines appropriate summary level based on model
    • "concise" - Shorter summary (not supported by GPT-5 series)
    • "detailed" - Comprehensive reasoning summary
  3. Model Support Table

    Model Default (when not set) Supported Values
    gpt-5 medium minimal, low, medium, high
    gpt-5-mini medium minimal, low, medium, high
    gpt-5-codex adaptive low, medium, high (no minimal)
    gpt-5-pro high high
  4. Important Notes

    • Summary field requires OpenAI organization verification
    • GPT-5 series models support "auto" and "detailed", but NOT "concise"
    • O-series models (o3-pro, o4-mini, o3) support all three summary options
    • Some models (o3-mini, o1) don't support reasoning summaries at all

    This documentation ensures users understand:

  • How to opt-in to summary feature if verified
  • Which models support which options"--base main

Related to PR BerriAI#16210 which fixed automatic summary field addition

Changes:
- Document reasoning_effort string vs dict formats
- Add summary field options (auto, detailed, concise)
- Add table of supported reasoning_effort values by GPT-5 model
- Clarify model-specific support and limitations
- Note that summary field requires org verification

The previous implementation automatically added summary field causing
400 errors for unverified orgs. Now users can opt-in by passing
reasoning_effort as dict with explicit summary field.
@vercel
Copy link

vercel bot commented Nov 12, 2025

@Chesars is attempting to deploy a commit to the CLERKIEAI Team on Vercel.

A member of the Team first needs to authorize it.

@krrishdholakia krrishdholakia merged commit c017f66 into BerriAI:main Nov 13, 2025
4 of 6 checks passed
@krrishdholakia
Copy link
Contributor

Thanks! @Chesars

@Chesars
Copy link
Contributor Author

Chesars commented Nov 13, 2025

You're welcome @krrishdholakia 🙌

@Chesars Chesars deleted the docs/update-reasoning-effort-documentation branch November 13, 2025 10:45
LingXuanYin pushed a commit to talesofai/litellm that referenced this pull request Nov 14, 2025
…I#16549)

Related to PR BerriAI#16210 which fixed automatic summary field addition

Changes:
- Document reasoning_effort string vs dict formats
- Add summary field options (auto, detailed, concise)
- Add table of supported reasoning_effort values by GPT-5 model
- Clarify model-specific support and limitations
- Note that summary field requires org verification

The previous implementation automatically added summary field causing
400 errors for unverified orgs. Now users can opt-in by passing
reasoning_effort as dict with explicit summary field.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants