Tutorials
Step-by-step fixes for the errors, misconfigurations and setup problems developers hit with AI frameworks, coding agents and local model tooling.
No Module Named langchain_openai: Why the Import Fails
The langchain_openai import fails after the v1 package split. Install the provider package, fix the ChatOpenAI import path, and find legacy chains in langchain-classic.
November 21, 2026
context_length_exceeded: When LangChain Conversations Outgrow the Model
BadRequestError with context_length_exceeded kills long LangChain threads. Use SummarizationMiddleware, a trimming hook, and bounded tool output to stay under the window.
November 21, 2026
GraphRecursionError: How to Fix LangGraph's Recursion Limit
LangGraph raises GraphRecursionError when a graph loops too long. Learn the real cause, the current 1.x default limit, and three fixes that stick.
November 20, 2026
OpenAI 429 Errors: Rate Limits, Quota and Spend Limits
OpenAI returns 429 for rate limits, exhausted credits and hard spend caps. Read error.code to tell them apart, then retry only the cases that recover.
November 20, 2026
Responses API Empty output_text: When Reasoning Eats the Token Budget
The Responses API can return HTTP 200 with empty output_text when reasoning tokens use the whole max_output_tokens budget. Detect it and size the cap.
November 20, 2026
Unsupported parameter max_tokens: Fixing GPT-5 and GPT-6 Requests
A 400 invalid_request_error rejects max_tokens on GPT-5 and GPT-6 models. Rename it to max_completion_tokens, or use max_output_tokens on the Responses API.
November 20, 2026