Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] The plugin API carries conversation ID #5348

Open
Mereithhh opened this issue Jan 8, 2025 · 2 comments
Open

[Request] The plugin API carries conversation ID #5348

Mereithhh opened this issue Jan 8, 2025 · 2 comments
Labels
🌠 Feature Request New feature or request | 特性与建议 plugin

Comments

@Mereithhh
Copy link

🥰 Feature Description

I want to create a code interpreter plugin, but the model's default output shares the previous code context, so I need a dialogue retention system. However, the plugin API does not have a field to indicate that the request comes from a conversation.

🧐 Proposed Solution

When the gateway requests the plugin API, it carries an X-Session-Id parameter in the header by default, indicating the dialogue ID.

📝 Additional Information

When I have time, I might submit a PR to implement it. I really like Lobechat, and I am eager to create a code interpreter that connects to my operation and maintenance system to assist with some cluster SRE work.

@Mereithhh Mereithhh added the 🌠 Feature Request New feature or request | 特性与建议 label Jan 8, 2025
@lobehubbot
Copy link
Member

👀 @Mereithhh

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@Mereithhh
Copy link
Author

By the way, we can implement our own MCP protocol, which would enhance the playability.

@dosubot dosubot bot added the plugin label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌠 Feature Request New feature or request | 特性与建议 plugin
Projects
None yet
Development

No branches or pull requests

2 participants