Dax Raad 1 месяц назад
Родитель
Сommit
0d9ca0ea31
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      packages/opencode/src/provider/models.ts

+ 1 - 0
packages/opencode/src/provider/models.ts

@@ -88,6 +88,7 @@ export namespace ModelsDev {
     const file = Bun.file(filepath)
     const file = Bun.file(filepath)
     const result = await file.json().catch(() => {})
     const result = await file.json().catch(() => {})
     if (result) return result
     if (result) return result
+    // @ts-ignore
     const snapshot = await import("./models-snapshot")
     const snapshot = await import("./models-snapshot")
       .then((m) => m.snapshot as Record<string, unknown>)
       .then((m) => m.snapshot as Record<string, unknown>)
       .catch(() => undefined)
       .catch(() => undefined)