Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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] 对于各模型、各平台的支持希望可以以plugin的形式出现。 #2571

Closed
JARVISMindEngineer opened this issue May 20, 2024 · 2 comments
Labels
🌠 Feature Request New feature or request | 特性与建议

Comments

@JARVISMindEngineer
Copy link
Contributor

🥰 需求描述

目前项目比较臃肿;可否把对模型、三方平台的支持分离到单独的plugin里。大家使用的时候按需增加到配置里。
比如最轻量级的版本就是仅支持open-ai的基础功能和UI界面。

有需要market或需要其他模型提供商或者其他auth方案的就自己增加plugin依赖到项目里。

🧐 解决方案

提供各核心功能以及接口的spi开放给大家就好了。
也可以参考下内部HaloOS BusinessAbility的做法呀、多舒服。

📝 补充信息

项目目录里。test文件也混杂在里边,真的很乱糟糟的。
mobile和desktop改起来也费劲,都需要二次确认。为什么不是直接兼容到一个文件里。
可能我也不是特别懂,就是在私有部署的时候浪费了很多时间在修改上边。

@JARVISMindEngineer JARVISMindEngineer added the 🌠 Feature Request New feature or request | 特性与建议 label May 20, 2024
@lobehubbot
Copy link
Member

👀 @JARVISMindEngineer

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

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


🥰 Description of requirements

The current project is relatively bloated; can the support for models and third-party platforms be separated into a separate plugin? When you use it, add it to the configuration as needed.
For example, the most lightweight version only supports the basic functions and UI interface of open-ai.

If you need market or other model providers or other auth solutions, just add plugin dependencies to the project yourself.

🧐 Solution

It would be great if the spi that provides various core functions and interfaces is open to everyone.
You can also refer to the internal HaloOS BusinessAbility approach, how comfortable it is.

📝 Supplementary information

in the project directory. The test files are also mixed in, which is really messy.
Changing mobile and desktop is also difficult and requires double confirmation. Why isn't it directly compatible with a file?
Maybe I don’t understand it very well, but I just wasted a lot of time on modifications during private deployment.

@lobehub lobehub locked and limited conversation to collaborators May 20, 2024
@arvinxx arvinxx converted this issue into discussion #2576 May 20, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
🌠 Feature Request New feature or request | 特性与建议
Projects
None yet
Development

No branches or pull requests

2 participants