mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
kimi-k2-thinking did not output reasoning_content #859
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shesung on GitHub (Dec 8, 2025).
Self Checks
Dify version
1.9.1
Plugin version
moonshot-0.0.9
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
create an LLM node, set model to kimi-k2-thinking.
"reasoning_content" in result is always empty.
As I know, moonshot api returns an msg object, which has explicit "reasoning_content" attr. The plugin seems not loading the attr.
✔️ Error log
No response
@dosubot[bot] commented on GitHub (Dec 8, 2025):
The moonshot-0.0.9 plugin does not currently extract or expose the
reasoning_contentattribute from the Moonshot API response for the kimi-k2-thinking model. The plugin only processes thedelta["content"]orchoice["text"]fields, so even if the API returnsreasoning_content, it will always be empty in the output unless the plugin is updated to handle it. This is a gap in the current implementation and not a configuration issue or a problem with your setup. Adding logic to parse and exposereasoning_contentin the plugin’s stream response handler would resolve this bug. You can track plugin updates or consider contributing a patch if you need this field populated.See source code analysis
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other