Skip to content

Commit b0e1c8b

Browse files
IgorSwatmkopcinsMateusz Kopciński
authored
chore: 0.4.10 (#669)
## Description <!-- Provide a concise and descriptive summary of the changes implemented in this PR. --> ### Introduces a breaking change? - [ ] Yes - [x] No ### Type of change - [x] Bug fix (change which fixes an issue) - [ ] New feature (change which adds functionality) - [ ] Documentation update (improves or adds clarity to existing documentation) - [ ] Other (chores, tests, code style improvements etc.) ### Tested on - [x] iOS - [x] Android ### Testing instructions <!-- Provide step-by-step instructions on how to test your changes. Include setup details if necessary. --> ### Screenshots <!-- Add screenshots here, if applicable --> ### Related issues <!-- Link related issues here using #issue-number --> ### Checklist - [x] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly - [x] My changes generate no new warnings ### Additional notes <!-- Include any additional information, assumptions, or context that reviewers might need to understand this PR. --> --------- Co-authored-by: Mateusz Kopcinski <[email protected]> Co-authored-by: Mateusz Kopciński <[email protected]>
1 parent d26ec95 commit b0e1c8b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ dependencies {
103103
implementation "com.facebook.react:react-android:+"
104104
implementation 'org.opencv:opencv:4.10.0'
105105
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
106-
implementation("com.github.software-mansion:react-native-executorch:v0.4.9")
106+
implementation("com.github.software-mansion-labs:react-native-executorch:v0.4.10")
107107
implementation 'org.opencv:opencv:4.10.0'
108108
implementation("com.squareup.okhttp3:okhttp:4.9.2")
109109
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-executorch",
3-
"version": "0.4.9",
3+
"version": "0.4.10",
44
"description": "An easy way to run AI models in react native with ExecuTorch",
55
"source": "./src/index.ts",
66
"main": "./lib/commonjs/index.js",

src/controllers/LLMController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ export class LLMController {
284284
const template = new Template(tokenizerConfig.chat_template);
285285

286286
const specialTokens = Object.fromEntries(
287-
Object.keys(SPECIAL_TOKENS)
287+
Object.values(SPECIAL_TOKENS)
288288
.filter((key) => key in tokenizerConfig)
289289
.map((key) => [key, tokenizerConfig[key]])
290290
);

0 commit comments

Comments
 (0)