Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Update ai-experience plugin to query AiModelServerAPI entities

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
typescript
領域
full-stack

調査の方向性

plugins/ai-experience-backend/src/services/ModelService/ModelService.ts:73-74 と plugins/ai-experience/src/components/ModelSection/ModelSection.tsx:54-55 から始め、AiModelServerAPI エンティティの形状について PR #4211 または issue #4209 を確認します。spec.models.available に対応する両方のクエリとレスポンス処理を更新し、モデルセクションに利用可能なモデルが表示され、そのカタログリンクが結果を返すことを確認します。

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

説明

blocked stale workspace/ai-integrations

Summary

After PR #4211 (issue #4209), the model catalog entity provider emits AiModelServerAPI entities with spec.type: 'ai-model-server' instead of the previous Resource entities with spec.type: 'ai-model' (plus Component and API entities). The ai-experience plugin still queries for the old entity shapes and needs to be updated.

Affected code

  1. plugins/ai-experience-backend/src/services/ModelService/ModelService.ts:73-74 — queries { kind: 'Resource', 'spec.type': 'ai-model' }, which will return zero results after the entity provider change.

  2. plugins/ai-experience/src/components/ModelSection/ModelSection.tsx:54-55 — builds a catalog link with filters[kind]=resource&filters[type]=ai-model, which will show no results in the UI.

What to change

Update both locations to query for { kind: 'AiModelServerAPI', 'spec.type': 'ai-model-server' } and adjust any response handling for the new entity shape (models are now in spec.models.available instead of being separate Resource entities).

Context

  • PR #4211 / issue #4209 introduced the AiModelServerAPI kind
  • The ai-experience plugin is expected to be replaced, but should be updated in the interim to avoid a broken model section
主要言語
TypeScript
スター
49
フォーク
120
平均マージ
1日 11時間
マージ済み PR(30日)
432

環境構築

はじめの一歩

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

redhat-developer/rhdh-plugins のほかの issue

redhat-developer/rhdh-plugins の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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