Bug: Kimi K2 Thinking - issue with multi-web search
Whilst Kimi K2 Thinking seems to have the ability to reason → interface with web search → return to reasoning, any prompt which requires additional research breaks and returns an output of:
<|tool_calls_section_begin|> <|tool_call_begin|> functions.webSearch:1 <|tool_call_argument_begin|> {"queries": ["query1", "query2", "query3"], "category": "category", "domains": null} <|tool_call_end|> <|tool_calls_section_end|>
Example case:
Log in to comment and vote
Comments1
Mark Florkowski
Only one search is allowed, if the model outputs something like this, it is hallucinating a tool call, as it does not have access to web search after using the tool once in the response.
Will see if there is anything additional we can do to remind the model of this, but the fact that it is outputting tool call syntax into the text stream is misbehaviour of the model itself.