How does the user in LargeLanguageModel relate to the records on the interface? #820

Closed
opened 2026-02-16 10:20:37 -05:00 by yindo · 1 comment
Owner

Originally created by @kenneth-bro on GitHub (Nov 20, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues Dify issues & Dify Official Plugins, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.10.0

Plugin version

0.0.33

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image Image

✔️ Error log

No response

Originally created by @kenneth-bro on GitHub (Nov 20, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.10.0 ### Plugin version 0.0.33 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce <img width="1370" height="590" alt="Image" src="https://github.com/user-attachments/assets/3d36ac65-1a47-49c5-a820-ba7367a9ef64" /> <img width="1374" height="556" alt="Image" src="https://github.com/user-attachments/assets/a5b1b082-e17b-4fe2-a921-dc0c5592b319" /> ### ✔️ Error log _No response_
yindo added the bugquestion labels 2026-02-16 10:20:37 -05:00
yindo closed this issue 2026-02-16 10:20:37 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Nov 20, 2025):

The user parameter in LargeLanguageModel is a unique user ID that gets passed through backend model invocation and is included as user_id in the JSON payloads sent to the plugin daemon. This same user_id is what appears in the records on the interface, so there is a direct mapping between the user you provide to LargeLanguageModel and the user information shown in the interface records. The backend consistently maintains this user context throughout the workflow, ensuring that records and logs in the UI accurately reflect the user associated with each operation.
Source 1 | Source 2

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

@dosubot[bot] commented on GitHub (Nov 20, 2025): <!-- Answer --> The user parameter in LargeLanguageModel is a unique user ID that gets passed through backend model invocation and is included as user_id in the JSON payloads sent to the plugin daemon. This same user_id is what appears in the records on the interface, so there is a direct mapping between the user you provide to LargeLanguageModel and the user information shown in the interface records. The backend consistently maintains this user context throughout the workflow, ensuring that records and logs in the UI accurately reflect the user associated with each operation. [Source 1](https://github.com/langgenius/dify/blob/2f9705eb6f55249d35ed565e591849c716b5d134/api/core/model_runtime/model_providers/__base/large_language_model.py#L91-L595) | [Source 2](https://github.com/langgenius/dify/blob/2f9705eb6f55249d35ed565e591849c716b5d134/api/core/plugin/impl/model.py#L145-L190) <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/f93b50a5-3dc1-4bb3-a6da-8be5aaaf5a59?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/f93b50a5-3dc1-4bb3-a6da-8be5aaaf5a59?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/f93b50a5-3dc1-4bb3-a6da-8be5aaaf5a59?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/f93b50a5-3dc1-4bb3-a6da-8be5aaaf5a59?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/f93b50a5-3dc1-4bb3-a6da-8be5aaaf5a59?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/f93b50a5-3dc1-4bb3-a6da-8be5aaaf5a59?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/f93b50a5-3dc1-4bb3-a6da-8be5aaaf5a59?feedback_type=other)</sup>&nbsp;&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify-official-plugins/issues/2105)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#820