MCPcopy Index your code
hub / github.com/simstudioai/sim / getPiModelOptions

Function getPiModelOptions

apps/sim/blocks/utils.ts:90–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88 * models (which `getProviderFromModel` can throw on) are excluded.
89 */
90export function getPiModelOptions() {
91 return getModelOptions().filter((option) => {
92 try {
93 return isPiSupportedProvider(getProviderFromModel(option.id))
94 } catch {
95 return false
96 }
97 })
98}
99
100/**
101 * Gets all dependency fields as a flat array.

Callers

nothing calls this directly

Calls 3

isPiSupportedProviderFunction · 0.90
getProviderFromModelFunction · 0.90
getModelOptionsFunction · 0.85

Tested by

no test coverage detected