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

🚀 功能建议:允许添加多个自定义 OpenAI 服务 #479

Open
4 of 5 tasks
tisfeng opened this issue Mar 30, 2024 · 3 comments
Open
4 of 5 tasks

🚀 功能建议:允许添加多个自定义 OpenAI 服务 #479

tisfeng opened this issue Mar 30, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@tisfeng
Copy link
Owner

tisfeng commented Mar 30, 2024

请先确认以下事项

  • 已仔细阅读了 README
  • issues 页面搜索过(包括已关闭的 issue),未发现类似功能建议
  • Easydict 已升级到 最新版本
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

功能描述

目前最新 dev 已添加了一个自定义 OpenAI 服务,但用户可能想要添加多个自定义服务 #439 (comment)#434

因此,我们可以在已有的自定义 OpenAI 服务功能上进行改进,例如在设置服务页添加一个【复制】按钮,点击后创建一个新的自定义 OpenAI 服务。

image

使用场景

实现方案(可选)

No response

是否愿意提交 PR 实现该功能

  • 我愿意提交 PR
@tisfeng
Copy link
Owner Author

tisfeng commented May 26, 2024

@phlpsong 这个功能开始做了么,如果还没有的话,可以构思一下如何配合 #551 一起做。

目前加载服务代码都是固定好的,一个类对应一个服务,对于添加多个自定义 OpenAI 这种服务来说不方便,而使用 SwiftUI 重写查询窗口时,这部分代码逻辑可能会大改,因此最好配合起来实现。

@phlpsong
Copy link
Collaborator

Sorry about that, I've been quite busy with work lately, so I might have to wait until mid of next month to take a look.

@tisfeng
Copy link
Owner Author

tisfeng commented May 26, 2024

ok,你先忙,我们先等 #551 搭个架子,可能也没那么快。


我在想,如果服务配置 UI 这部分代码实现得比较好的话,稍后是否可以像 Raycast 一样使用配置文件实现服务界面配置,最后实现 js 自定义扩展服务 #136 。 这个还有点遥远,先一步步来吧。

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

No branches or pull requests

2 participants