Replace openai_vendor with clearer OpenAI API classification

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

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

@onatozmenn がすでに取り組んでいます。

2026年11月5日 から。

  • #4818 @onatozmenn による — オープン

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
45/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go

調査の方向性

Start by reading the provider catalog and the existing code paths that gate reasoning effort, tool calling, and prompt caching on vendor identity; the issue does not name their files or tests. Trace how OpenAI-compatible providers and gateways classify model IDs, then define regression coverage for existing integrations. Done means the catalog has a documented OpenAI versus OpenAI-compatible distinction with fewer provider-specific flags.

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

説明

area/config area/providers area/providers/openai

Context

Follow-up to #4755 and this review comment.

Investigate using api_type: openai and api_type: openai-compatible instead of a separate openai_vendor: true flag in the provider catalog.

Considerations

  • Providers that speak the OpenAI protocol but do not serve OpenAI models.
  • Gateways that serve both OpenAI and other vendors' models, including openai/-qualified model IDs.
  • Existing model-specific reasoning-effort, tool-calling, and prompt-cache behavior currently gated by vendor identity.

Desired outcome

A simpler, documented distinction between OpenAI and OpenAI-compatible APIs, with fewer provider-specific flags and regression coverage preserving existing integrations.

Message-merging compatibility is tracked separately in #4757.

主要言語
Go
スター
4.7k
フォーク
565
平均マージ
18時間 52分
マージ済み PR(30日)
221

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

docker/docker-agent のほかの issue

docker/docker-agent の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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