(modelId, defaultName)
| 111 | { method: 'GET', headers }, |
| 112 | { |
| 113 | context: 'Model catalog', |
| 114 | maxAttempts: 3, |
| 115 | timeoutMs: 15000, |
| 116 | proxyConfig: { bypassProxy: true } |
| 117 | } |
| 118 | ); |
| 119 | |
| 120 | if (!response.ok) { |
| 121 | throw new Error(`HTTP error! status: ${response.status}`); |
| 122 | } |
no test coverage detected