MCPcopy Create free account
hub / github.com/pollinations/pollinations / validateTextModel

Function validateTextModel

packages/mcp/src/utils/models.js:95–96  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

93 validateAgainstRegistry(name, getImageModels, "image");
94
95export const validateTextModel = (name) =>
96 validateAgainstRegistry(name, getTextModels, "text");
97
98export const validateVideoModel = (name) =>
99 validateAgainstRegistry(name, getVideoModels, "video");

Callers 2

generateTextFunction · 0.90
chatCompletionFunction · 0.90

Calls 1

validateAgainstRegistryFunction · 0.85

Tested by

no test coverage detected