You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unlike initLlama, saveSession and loadSession both do not accept paths prefixed with file://.
Though this is a minor issue, it does hurt users of expo-filesystem which always prefixes its documentDirectory with file://, unlike ReactNativeBlobUtil used in the example app. Attempting to use documentDirectory from expo-filesystem results in a file not found error.
At the moment, this is simply fixed by replacing file:// with an empty string, however, consistency between initLlama, saveSession and loadSession path parsing would be ideal.
The text was updated successfully, but these errors were encountered:
Unlike
initLlama
,saveSession
andloadSession
both do not accept paths prefixed withfile://
.Though this is a minor issue, it does hurt users of
expo-filesystem
which always prefixes itsdocumentDirectory
withfile://
, unlikeReactNativeBlobUtil
used in the example app. Attempting to usedocumentDirectory
from expo-filesystem results in a file not found error.At the moment, this is simply fixed by replacing
file://
with an empty string, however, consistency between initLlama, saveSession and loadSession path parsing would be ideal.The text was updated successfully, but these errors were encountered: