Skip to content

Commit 2f20cb3

Browse files
committed
feat: pass capabilities to LLMController.load in fromModelName
1 parent 380e7d9 commit 2f20cb3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • packages/react-native-executorch/src/modules/natural_language_processing

packages/react-native-executorch/src/modules/natural_language_processing/LLMModule.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export class LLMModule {
6262
modelSource: namedSources.modelSource,
6363
tokenizerSource: namedSources.tokenizerSource,
6464
tokenizerConfigSource: namedSources.tokenizerConfigSource,
65+
capabilities: namedSources.capabilities,
6566
onDownloadProgressCallback: onDownloadProgress,
6667
});
6768
return instance;

0 commit comments

Comments
 (0)