From 6f11179109d8854f3fa9adf2e995fb57eb3d1dda Mon Sep 17 00:00:00 2001 From: Jhen-Jie Hong Date: Thu, 21 Nov 2024 10:17:04 +0800 Subject: [PATCH] fix(example): getLoadedLoraAdapters usage --- example/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/src/App.tsx b/example/src/App.tsx index 724257d..3849753 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -291,7 +291,7 @@ export default function App() { if (loraFile) context.applyLoraAdapters([{ path: loraFile.uri }]) }) - .then(context.getLoadedLoraAdapters) + .then(() => context.getLoadedLoraAdapters()) .then((loraList) => addSystemMessage( `Loaded lora adapters: ${JSON.stringify(loraList)}`,