Skip to content

Fix Kimi generation prompt thinking block#108

Merged
yubofredwang merged 1 commit into
lightseekorg:mainfrom
mesaleh:fix/kimi-generation-prompt-think
May 25, 2026
Merged

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

Conversation

@mesaleh
Copy link
Copy Markdown
Contributor

@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

@yubofredwang yubofredwang merged commit 180c18c into lightseekorg:main May 25, 2026
1 of 2 checks passed
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.

2 participants