Examples and Solutions
Explore practical examples and step-by-step solutions for common AI integration challenges. These guides demonstrate how to resolve technical issues and optimize your AI infrastructure using Ozeki AI Gateway.
How to fix missing think tag for Kimi K2.5
This guide explains how to resolve the missing opening <think> tag issue in Kimi K2.5 model responses. When using sglang or AI gateways, the model returns reasoning content with only a closing </think> tag, breaking compatibility with clients like Open WebUI, Cline, and Claude Code. The solution involves routing requests through Ozeki AI Gateway and adding a request modifier that injects the chat_template_kwargs parameter with thinking set to true, enabling proper formatting of reasoning blocks.
How to fix missing think tag for Kimi K2.5