Skip to content

Commit 56ff74c

Browse files
fix: method name
1 parent 0f12695 commit 56ff74c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-native-executorch/src/controllers/LLMController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ export class LLMController {
319319
// eslint-disable-next-line camelcase
320320
{ tools_in_user_message: false, add_generation_prompt: true }
321321
);
322-
return this.nativeModule.getTokenCount(rendered);
322+
return this.nativeModule.countTextTokens(rendered);
323323
};
324324

325325
const messageHistoryWithPrompt =

0 commit comments

Comments
 (0)