Skip to content

Fix Kimi generation prompt thinking block#108

Open
mesaleh wants to merge 1 commit into
lightseekorg:mainfrom
mesaleh:fix/kimi-generation-prompt-think
Open

Fix Kimi generation prompt thinking block#108
mesaleh wants to merge 1 commit into
lightseekorg:mainfrom
mesaleh:fix/kimi-generation-prompt-think

Conversation

@mesaleh
Copy link
Copy Markdown

@mesaleh mesaleh commented May 24, 2026

Summary

  • make KimiK25Parser.format(..., add_generation_prompt=True) append <think> after the assistant header
  • add a parser regression test for the generation prompt format

Testing

  • .venv/bin/python -m pytest tests/test_kimi_k25_parser.py -q

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