Skip to content

Commit ec5554c

Browse files
heavy-dCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 90206c6 commit ec5554c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

packages/websocket/src/trpc/routers/models.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -930,11 +930,11 @@ async function collectProviderModelsForKind(
930930

931931
/**
932932
* Every remote model the user's configured providers can enumerate, across all
933-
* non-language modalities, for the SDK model catalog. Unlike
934-
* `collectProviderModelsForKind` this makes one pass per provider (each
935-
* `getAvailable*Models` called once, no task filtering) so text_to_image and
936-
* image_to_image capable models are both included. Language models are not
937-
* collected here — `getAllModels` already enumerates them.
933+
* non-language-model types (embeddings, images, TTS, music, ASR, video), for the
934+
* SDK model catalog. Unlike `collectProviderModelsForKind` this makes one pass
935+
* per provider (each `getAvailable*Models` called once, no task filtering) so
936+
* text_to_image and image_to_image capable models are both included. Language
937+
* models are not collected here — `getAllModels` already enumerates them.
938938
*/
939939
export async function collectProviderCatalogModels(
940940
userId: string

0 commit comments

Comments
 (0)