()
| 134 | } |
| 135 | |
| 136 | export function getModelStrings(): ModelStrings { |
| 137 | const ms = getModelStringsState() |
| 138 | if (ms === null) { |
| 139 | initModelStrings() |
| 140 | // Bedrock path falls through here while the profile fetch runs in the |
| 141 | // background — still honor overrides on the interim defaults. |
| 142 | return applyModelOverrides(getBuiltinModelStrings(getAPIProvider())) |
| 143 | } |
| 144 | return applyModelOverrides(ms) |
| 145 | } |
| 146 | |
| 147 | /** |
| 148 | * Ensure model strings are fully initialized. |
no test coverage detected