Code
V4 models run with thinking enabled by default, so you getreasoning_content out of the box. Use the use_thinking flag to control it.
cookbook/90_models/deepseek/thinking_mode.py
reasoning_content out of the box. Use the use_thinking flag to control it.