Skip to content

Conversation

@mdrxy
Copy link
Member

@mdrxy mdrxy commented Nov 16, 2025

Closes #455
Closes #479
Closes #532

@github-actions github-actions bot added langchain For docs changes to LangChain python For content related to the Python version of LangChain projects oss labels Nov 16, 2025
@github-actions
Copy link
Contributor

Mintlify preview ID generated: preview-mdrxyu-1763272929-73a29a9

@mdrxy mdrxy requested a review from ccurme November 16, 2025 06:02
@github-actions
Copy link
Contributor

Mintlify preview ID generated: preview-mdrxyu-1763273025-8b7a5e7


If you're getting empty responses from reasoning models like `gpt-5-nano`, this is likely due to restrictive token limits. The model uses tokens for internal reasoning and may not have any left for the final output.

Set `max_tokens=None` or increase the token limit to allow sufficient tokens for both reasoning and output generation.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, but I think this covers the situation where they're adjusting it

Perhaps the following?

Suggested change
Set `max_tokens=None` or increase the token limit to allow sufficient tokens for both reasoning and output generation.
Ensure `max_tokens` is set to `None` or increase the token limit to allow sufficient tokens for both reasoning and output generation.

@github-actions
Copy link
Contributor

Mintlify preview ID generated: preview-mdrxyu-1763388809-b756672

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

langchain For docs changes to LangChain oss python For content related to the Python version of LangChain projects

Projects

None yet

3 participants