Some prebuilt constructs like legacy LangChain agents and chains may use output parsers internally, so you may see this error even if you’re not visibly instantiating and using an output parser.
Troubleshooting
- Consider using tool calling or other structured output techniques if possible without an output parser to reliably output parseable values.
- Add more precise formatting instructions to your prompt.
- If you are using a smaller or less capable model, try using a more capable one.
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.