File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
extensions/llamacpp-extension/src Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -165,16 +165,14 @@ export default class llamacpp_extension extends AIEngine {
165165 try {
166166 version_backends = await listSupportedBackends ( )
167167 if ( version_backends . length === 0 ) {
168- console . warn (
168+ throw new Error (
169169 'No supported backend binaries found for this system. Backend selection and auto-update will be unavailable.'
170170 )
171- return
172171 } else {
173172 version_backends . sort ( ( a , b ) => b . version . localeCompare ( a . version ) )
174173 }
175174 } catch ( error ) {
176- console . error ( 'Failed to fetch supported backends:' , error )
177- return
175+ throw new Error ( `Failed to fetch supported backends: {error}` )
178176 }
179177
180178 let bestAvailableBackendString =
You can’t perform that action at this time.
0 commit comments