Get a custom header in my LLM plugin #661

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

Originally created by @LoveleeKay on GitHub (Sep 22, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

I develop a LLM plugin. I want to identify which app call this plugin. I thinked it can be the main chatflow appid from dify, or can be the custom header (like x-appid) from /chat-messages. Some thing else, if the custom header can pass it forward to plugin ,it will help me a lot.
such as ,i can use header[x-appid] to get the custom header in my llm plugin

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @LoveleeKay on GitHub (Sep 22, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. I develop a LLM plugin. I want to identify which app call this plugin. I thinked it can be the main chatflow appid from dify, or can be the custom header (like x-appid) from /chat-messages. Some thing else, if the custom header can pass it forward to plugin ,it will help me a lot. such as ,i can use header[x-appid] to get the custom header in my llm plugin ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the enhancement label 2026-02-16 10:20:06 -05:00
yindo closed this issue 2026-02-16 10:20:06 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Oct 8, 2025):

Hi, @LoveleeKay. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You requested a feature to pass a custom header like x-appid from the main chatflow or /chat-messages endpoint to your LLM plugin.
  • This would allow the plugin to identify the calling app by accessing the app ID within the plugin's logic.
  • No implementation contributions or further discussion have occurred since the request.
  • The issue remains unresolved and inactive.

What's Next:

  • Please let me know if this feature is still relevant to the latest version of dify-official-plugins by commenting on this issue.
  • If I do not hear back within 5 days, I will automatically close the issue.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Oct 8, 2025): Hi, @LoveleeKay. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. Issue Summary: - You requested a feature to pass a custom header like x-appid from the main chatflow or /chat-messages endpoint to your LLM plugin. - This would allow the plugin to identify the calling app by accessing the app ID within the plugin's logic. - No implementation contributions or further discussion have occurred since the request. - The issue remains unresolved and inactive. What's Next: - Please let me know if this feature is still relevant to the latest version of dify-official-plugins by commenting on this issue. - If I do not hear back within 5 days, I will automatically close the issue. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#661