Replies: 1 comment
-
|
Yes, this is the intended behavior in Dify. When you delete a conversation, all related messages are also deleted, and since token usage is tracked per message, the associated token usage data is removed as well. This is by design—there is no separate token usage record independent of the conversation or its messages, so deleting the conversation will always remove its token usage from monitoring and statistics. There is currently no built-in option or configuration to preserve token usage data after conversation deletion in Dify v1.11.1 or recent versions. This behavior has been confirmed in both the codebase and community discussions as expected and longstanding (source, discussion). To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I’d like to know what can be done to resolve this issue
2. Additional context or comments
After I complete a conversation, the backend “Monitoring” can count the corresponding token usage.
Now, after deleting this conversation, the related token usage is also deleted.
Is this behavior correct?
Please refer to the attached materials.
Token.xlsx
dify version:1.11.1
Self Hosted (docker)
Beta Was this translation helpful? Give feedback.
All reactions