diff --git a/.github/doxygen/Doxyfile b/.github/doxygen/Doxyfile index 05989312..65e24883 100644 --- a/.github/doxygen/Doxyfile +++ b/.github/doxygen/Doxyfile @@ -48,7 +48,7 @@ PROJECT_NAME = "LLM for Unity" # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = v2.2.0 +PROJECT_NUMBER = v2.2.1 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/CHANGELOG.md b/CHANGELOG.md index 5562a81e..75de910a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## v2.2.1 +#### 🐛 Fixes + +- Fix naming showing full path when loading model (PR: #224) +- Fix parallel prompts (PR: #226) + + ## v2.2.0 #### 🚀 Features diff --git a/CHANGELOG.release.md b/CHANGELOG.release.md index d405932e..d47f2437 100644 --- a/CHANGELOG.release.md +++ b/CHANGELOG.release.md @@ -1,18 +1,5 @@ -### 🚀 Features - -- Implement embedding and lora adapter functionality (PR: #210) -- Read context length and warn if it is very large (PR: #211) -- Setup allowing to use extra features: flash attention and IQ quants (PR: #216) -- Allow HTTP request retries for remote server (PR: #217) -- Allow to set lora weights at startup, add unit test (PR: #219) -- allow relative StreamingAssets paths for models (PR: #221) - ### 🐛 Fixes -- Fix set template for remote setup (PR: #208) -- fix crash when stopping scene before LLM creation (PR: #214) - -### 📦 General - -- Documentation/point to gguf format for lora (PR: #215) +- Fix naming showing full path when loading model (PR: #224) +- Fix parallel prompts (PR: #226) diff --git a/Runtime/LLMCharacter.cs b/Runtime/LLMCharacter.cs index c5ce99fd..c81c620c 100644 --- a/Runtime/LLMCharacter.cs +++ b/Runtime/LLMCharacter.cs @@ -11,6 +11,7 @@ namespace LLMUnity { + [DefaultExecutionOrder(-2)] /// @ingroup llm /// /// Class implementing the LLM characters. diff --git a/Runtime/LLMManager.cs b/Runtime/LLMManager.cs index f08edc87..ba97ca3b 100644 --- a/Runtime/LLMManager.cs +++ b/Runtime/LLMManager.cs @@ -27,13 +27,13 @@ public static string GetFilenameOrRelativeAssetPath(string path) { return LLMUnitySetup.RelativePath(assetPath, basePath); } - return path; + return Path.GetFileName(path); } public ModelEntry(string path, bool lora = false, string label = null, string url = null) { filename = GetFilenameOrRelativeAssetPath(path); - this.label = label == null ? filename : label; + this.label = label == null ? Path.GetFileName(filename) : label; this.lora = lora; this.path = LLMUnitySetup.GetFullPath(path); this.url = url; diff --git a/Runtime/LLMUnitySetup.cs b/Runtime/LLMUnitySetup.cs index 064a031d..67958363 100644 --- a/Runtime/LLMUnitySetup.cs +++ b/Runtime/LLMUnitySetup.cs @@ -85,7 +85,7 @@ public class LLMUnitySetup { // DON'T CHANGE! the version is autocompleted with a GitHub action /// LLM for Unity version - public static string Version = "v2.2.0"; + public static string Version = "v2.2.1"; /// LlamaLib version public static string LlamaLibVersion = "v1.1.10"; /// LlamaLib release url diff --git a/VERSION b/VERSION index a4b6ac3d..7fe52d36 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v2.2.0 +v2.2.1 diff --git a/package.json b/package.json index 40182afe..5c64fc74 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ai.undream.llm", - "version": "2.2.0", + "version": "2.2.1", "displayName": "LLM for Unity", "description": "LLM for Unity allows to run and distribute Large Language Models (LLMs) in the Unity engine.", "unity": "2022.3",