[Feature]: 支持通过 OpenAI、Anthropic 等协议接入第三方模型

オープン
#421 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
22/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発

調査の方向性

The payload names no files or entry points, so start by finding where the current model and executor configuration lives in the settings code and docs. Agree with maintainers on which protocols are in scope for the first version and how the connection test should behave. Done means a design settled on those points, not a finished implementation, since this touches settings UI, the model layer and the docs.

索引モデルが issue の本文から書いたものです。

説明

Problem

目前 LoopForge 的模型接入与已有执行器和配置方式绑定较紧,使用第三方模型服务或团队自建模型网关不够方便。

不同模型服务使用不同的接口协议,例如 OpenAI API 和 Anthropic Messages API。希望能够复用现有的模型服务、API 地址和密钥,按需选择模型,而不必局限于平台预设的接入方式。

Proposed behavior

希望支持通过常见模型接口协议接入第三方模型,例如:

  • OpenAI API 及兼容 OpenAI 协议的模型服务
  • Anthropic Messages API 及兼容该协议的模型服务
  • 其他常见模型协议,可后续按需扩展

希望可以在设置中选择协议类型,并配置 API Base URL、API Key、模型名称或模型 ID,提供连接测试功能。

配置完成后,希望能在任务、对话和 SOP 角色中选择这些模型。对于不同执行器或功能暂不支持的协议,也希望在界面或文档中说明支持范围。

如果目前已有相关接入方式,希望能在文档中补充配置示例。感谢!

Scope

Platform — UI / integrations

Alternatives considered

使用已有执行器和模型接入方式;但在复用现有第三方模型服务或自建网关时,配置不够灵活。

Checks
  • This proposal does not require organization-specific infrastructure or credentials.
  • I searched existing issues and discussions for similar proposals.
主要言語
Go
スター
141
フォーク
28
平均マージ
1日 15時間
マージ済み PR(30日)
113

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Tencent/LoopForge のほかの issue

Tencent/LoopForge の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。