Skip to content

Force Kimi K2 tool_choice and tighten parsing#7

Open
fstandhartinger wants to merge 1 commit intochutesai:chutesfrom
fstandhartinger:codex/k2-tool-choice
Open

Force Kimi K2 tool_choice and tighten parsing#7
fstandhartinger wants to merge 1 commit intochutesai:chutesfrom
fstandhartinger:codex/k2-tool-choice

Conversation

@fstandhartinger
Copy link

Summary

  • enforce required tool_choice for moonshotai/Kimi-K2-Thinking when tools are provided or auto-selected
  • reuse EBNF constraints for the Kimi tool-call detector to keep generation structured
  • normalize json schema outputs by stripping the synthetic 'strict' property and add coverage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments