library · inferred from evidence
langchain-deepseek
A library for integrating LangChain with DeepSeek models.
- DeepSeek multi-turn agent 400 error: The `reasoning_content` in the thinking mode must be passed back to the API
Running a multi-turn agent with tool calls on a DeepSeek thinking model (deepseek-v4-flash via langchain-deepseek's ChatDeepSeek, built with create_agent). The first turn succeeded, but the second turn raised openai.BadRequestError: Error c