**Sinds u promote both methods of installing (package manager or cloning/downloading the git)
**add this above async void Awake in LlManager.cs
// Singleton instance
public static LlmManager Instance { get; private set; }
**add this inside async void Awake in LlManager.cs
if (Instance == null)
{
Instance = this;
}
else
{
DestroyImmediate(this);
}
Put this method in Llmanager.cs:
public string GetModelPath(string modelPath)
{
return Path.Combine(Application.streamingAssetsPath, modelPath);
}
And this around line 117:
// correcting faulty path by getting it from one central In-App location
var path = GetModelPath(modelPath);
Then in LlWrapper.cs around line 202:
// correcting faulty path by getting it from one central In-App location
var path = LlmManager.Instance.GetModelPath(modelPath);
**Sinds u promote both methods of installing (package manager or cloning/downloading the git)
**add this above async void Awake in LlManager.cs
**add this inside async void Awake in LlManager.cs
Put this method in Llmanager.cs:
And this around line 117:
Then in LlWrapper.cs around line 202: