fix: strip thinking process from LLM responses
Introduces `_strip_thinking` to remove reasoning segments from the LLM output. This handles `<think>` tags, residual `</think>` tags, and plain-text thinking prefixes to ensure only the final review content is returned. It also prioritizes `reasoning_content` when provided by OpenAI-compatible gateways.
Showing
Please register or sign in to comment