vLLM 上 Kimi K2 工具调用准确率的深度调试
vLLM 与 Kimi 团队修复了 Kimi K2 的关键工具调用兼容问题,使成功解析的调用数从 218 个增至 971 个,提升 4.4x。问题涉及缺失 add_generation_prompt、空 content 的结构转换,以及历史工具调用 ID 不符合 functions.func_name:idx 格式。修复后仍出现 316 次 schema_validation_error_count,团队正协作将用于约束工具选择的 Enforcer 组件集成到 vLLM。

fter commit 94a4053eb8863059dd8afc00937f054e1365abbd (Kimi-K2-0905) or commit 0102674b179db4ca5a28cd9a4fb446f87f0c1454 (Kimi-K2). The updates are committed per model. Introduction Agentic workflows are reshaping our interaction with Large Language Models, and robust tool-calling is the engine driving this revolution. Moonshot AI's Kimi K2 model is renowned for its exceptional tool-calling capabilities. To validate its performance on the high-performance vLLM serving engine, I turned to the offic
匹配字段正文




