Skip to content

Instantly share code, notes, and snippets.

View thijssmudde's full-sized avatar

Thijs Smudde thijssmudde

View GitHub Profile

MoonshotAI Kimi K2 model not invoking tools despite listed support

Description

The moonshotai/kimi-k2 model is listed as supporting "Tools" and "Tool Choice" on the OpenRouter model page, but when making requests with tools defined, the model responds with regular text instead of invoking the requested tools.

Steps to Reproduce

  1. Make a request to moonshotai/kimi-k2 via OpenRouter API with tools defined
  2. Use the standard OpenAI-compatible tool/function format