web_search built-in tool via API

#29
by PriNova - opened

Hey Moonshot AI team,

I tried to reproduce to use the $web_search built-in tool call as documented in the API user guide with Kimi K2 model but got fabricated results back. Logging the tool call seems not to trigger it too. I wonder if Kimi K2 over the API is working with this tool because it does with the web UI app or if I should use the 1.x models for that and inject the web results into the Kimi K2 conversation pipeline.

Thank you for any clarification.

Moonshot AI org

Hi, @PriNova , could you please share your code for reproducing your issue?
We have confirmed that the example works with the model id 'kimi-k2-0711-preview', so we need to understand how do you use the web search tool.
PS, it would be helpful if you could provide your session id of your chat response.

Sign up or log in to comment