mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
Answer will be all thinking content without answer,if enable thinking for deepseek v3.1(volcengine) #854
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 @leslie2046 on GitHub (Dec 5, 2025).
Self Checks
Dify version
1.10.1
Plugin version
0.0.35
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
✔️ Error log
No response
@dosubot[bot] commented on GitHub (Dec 5, 2025):
For DeepSeek v3.1 (volceengine) in plugin version 0.0.35, you can enable "thinking mode" by setting the
thinkingparameter toenabledin your model configuration. This parameter is available in the Volcengine MaaS plugin and controls whether the model outputs its reasoning ("think content") in the response stream. When enabled, the backend logic wraps and streams reasoning content, so you should see all think content in the output if the model and plugin are working correctly. There is noenable_thinkingparameter—just usethinking: enabledin your settings. If you want to disable it, setthinking: disabled(though some models may not support disabling and could return an error) see implementation details.If you are not seeing all think content, check for known output handling bugs in the plugin, especially with streamed responses. Sometimes, patching the plugin to avoid using string
replacefor streamed output and instead appending new content directly can resolve missing or incomplete reasoning output see bug discussion and workaround.No upgrade is strictly required for basic thinking mode, but newer plugin versions may offer improved support and bug fixes.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
@leslie2046 commented on GitHub (Dec 5, 2025):
@dosubot
{
"limit": 20,
"has_more": false,
"data": [{
"id": "6decab33-31bf-4cce-a4b2-1e4f78411e58",
"conversation_id": "e9bf8694-a721-49c8-aee6-c1f2f6f3a26e",
"inputs": {},
"query": "当前时间",
"message": [{
"role": "user",
"text": "当前时间",
"files": []
},
{
"role": "assistant",
"text": "",
"files": [],
"tool_calls": [{
"id": "call_b6suk7fnz245oanzhrlftnzk",
"type": "function",
"function": {
"name": "current_time",
"arguments": "{}"
}
}]
},
{
"role": "tool",
"text": "2025-12-05 22:19:14",
"files": [],
"tool_calls": [{
"id": "call_b6suk7fnz245oanzhrlftnzk",
"type": "function",
"function": {
"name": "current_time",
"arguments": "{}"
}
}]
}
],
"message_tokens": 2029,
"answer": "\n用户询问当前时间。我需要使用current_time工具来获取当前时间。这个工具不需要任何参数。让我调用它。\n\n当前时间是2025年12月5日 22:19:14。",
"answer_tokens": 69,
"provider_response_latency": 6.777980150000076,
"from_source": "console",
"from_end_user_id": null,
"from_account_id": "43636770-a92c-4cb3-a701-849e8004b54a",
"feedbacks": [],
"workflow_run_id": null,
"annotation": null,
"annotation_hit_history": null,
"created_at": 1764944350,
"agent_thoughts": [{
"id": "0699b521-23c6-4be5-aaa1-6b93f9c208ab",
"chain_id": null,
"message_id": "6decab33-31bf-4cce-a4b2-1e4f78411e58",
"position": 1,
"thought": "\n用户询问当前时间。我需要使用current_time工具来获取当前时间。这个工具不需要任何参数。让我调用它。",
"tool": "current_time",
"tool_labels": {
"current_time": {
"zh_Hans": "获取当前时间",
"en_US": "Current Time",
"pt_BR": "Current Time",
"ja_JP": "Current Time"
}
},
"tool_input": "{"current_time": {}}",
"created_at": 1764944350,
"observation": "{"current_time": "2025-12-05 22:19:14"}",
"files": []
},
{
"id": "cd9dba20-13d1-45c6-887b-4167a117238f",
"chain_id": null,
"message_id": "6decab33-31bf-4cce-a4b2-1e4f78411e58",
"position": 2,
"thought": "\n当前时间是2025年12月5日 22:19:14。",
"tool": "",
"tool_labels": {},
"tool_input": "",
"created_at": 1764944354,
"observation": "",
"files": []
}
],
"message_files": [],
"metadata": {
"annotation_reply": null,
"retriever_resources": [],
"usage": {
"prompt_tokens": 2029,
"prompt_unit_price": "0.002",
"prompt_price_unit": "0.001",
"prompt_price": "0.004058",
"completion_tokens": 69,
"completion_unit_price": "0.003",
"completion_price_unit": "0.001",
"completion_price": "0.000207",
"total_tokens": 2098,
"total_price": "0.004265",
"currency": "RMB",
"latency": 6.777980150000076,
"time_to_first_token": 3.216,
"time_to_generate": 3.493
}
},
"status": "normal",
"error": null,
"parent_message_id": null
}]
}