()
| 88 | * models (which `getProviderFromModel` can throw on) are excluded. |
| 89 | */ |
| 90 | export 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. |
nothing calls this directly
no test coverage detected