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

lobe在请求插件服务时的请求体是什么样的? #38

Closed
lucasfen opened this issue Dec 13, 2024 · 4 comments
Closed

lobe在请求插件服务时的请求体是什么样的? #38

lucasfen opened this issue Dec 13, 2024 · 4 comments

Comments

@lucasfen
Copy link

No description provided.

@lobehubbot
Copy link
Member

👀 @lucasfen
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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@lucasfen
Copy link
Author

我们在自定义插件测试时,插件服务收到的请求体是:{ "identifier": "coremon", "arguments": "{"param1":"value1", "param2":"value2"}", "apiName": "Coremon", "type": "default" }。 我们在完成插件的安装后,插件服务收到的请求体是:{"param1":"value1","param2":"value2"}

@arvinxx
Copy link
Contributor

arvinxx commented Dec 13, 2024

"identifier": "coremon", "arguments": "{"param1":"value1", "param2":"value2"}", "apiName": "Coremon", "type": "default" }

这个是 lobechat 插件网关收到的参数,然后网关应该基于 coremon 以及 apiName 查到这个插件是哪个,然后再把 arguments 参数发到这个插件服务去

@arvinxx arvinxx closed this as completed Dec 13, 2024
@lobehubbot
Copy link
Member

@lucasfen


This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants