Skip to content

Commit a32907c

Browse files
committed
stale rag import removed
1 parent de307c1 commit a32907c

4 files changed

Lines changed: 1 addition & 9 deletions

File tree

examples/react-native/RunAnywhereAI/android/app/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ android {
172172
"**/libfolly_runtime.so",
173173
"**/libreactnative.so",
174174
"**/libNitroModules.so", // Nitro modules shared by @runanywhere/onnx and react-native-nitro-modules
175-
"**/librac_backend_onnx.so", // ONNX backend duplicated via rag + onnx modules
175+
"**/librac_backend_onnx.so", // ONNX backend shared by multiple modules
176176
"**/librac_commons.so",
177177
"**/libomp.so"
178178
]
@@ -199,7 +199,6 @@ dependencies {
199199
implementation project(':runanywhere_core')
200200
implementation project(':runanywhere_llamacpp')
201201
implementation project(':runanywhere_onnx')
202-
implementation project(':runanywhere_rag')
203202

204203
def isHermesEnabled = project.hasProperty("hermesEnabled") ? project.hermesEnabled.toBoolean() : true
205204
// Expose hermesEnabled for other modules (like react-native-worklets)

examples/react-native/RunAnywhereAI/android/app/src/main/java/com/runanywhereaI/MainApplication.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import com.margelo.nitro.NitroModulesPackage
1212
import com.margelo.nitro.runanywhere.RunAnywhereCorePackage
1313
import com.margelo.nitro.runanywhere.llama.RunAnywhereLlamaPackage
1414
import com.margelo.nitro.runanywhere.onnx.RunAnywhereONNXPackage
15-
import com.margelo.nitro.runanywhere.rag.RunAnywhereRAGPackage
1615

1716
class MainApplication : Application(), ReactApplication {
1817
override val reactHost: ReactHost by lazy {
@@ -24,7 +23,6 @@ class MainApplication : Application(), ReactApplication {
2423
add(RunAnywhereCorePackage())
2524
add(RunAnywhereLlamaPackage())
2625
add(RunAnywhereONNXPackage())
27-
add(RunAnywhereRAGPackage())
2826
},
2927
)
3028
}

examples/react-native/RunAnywhereAI/android/settings.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,3 @@ project(':runanywhere_llamacpp').projectDir = new File(rootProject.projectDir, '
2222

2323
include ':runanywhere_onnx'
2424
project(':runanywhere_onnx').projectDir = new File(rootProject.projectDir, '../node_modules/@runanywhere/onnx/android')
25-
26-
include ':runanywhere_rag'
27-
project(':runanywhere_rag').projectDir = new File(rootProject.projectDir, '../node_modules/@runanywhere/rag/android')

examples/react-native/RunAnywhereAI/metro.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');
55
const sdkPath = path.resolve(__dirname, '../../../sdk/runanywhere-react-native');
66
const sdkPackagesPath = path.join(sdkPath, 'packages');
77
const sdkCorePath = path.join(sdkPackagesPath, 'core');
8-
const sdkRagPath = path.join(sdkPackagesPath, 'rag');
98
const sdkLlamaPath = path.join(sdkPackagesPath, 'llamacpp');
109
const sdkOnnxPath = path.join(sdkPackagesPath, 'onnx');
1110

@@ -21,7 +20,6 @@ const config = {
2120
// Ensure Metro resolves SDK packages from the workspace (symlinks can be flaky)
2221
extraNodeModules: {
2322
'@runanywhere/core': sdkCorePath,
24-
'@runanywhere/rag': sdkRagPath,
2523
'@runanywhere/llamacpp': sdkLlamaPath,
2624
'@runanywhere/onnx': sdkOnnxPath,
2725
},

0 commit comments

Comments
 (0)