From 3e66fe0e82b61353bc5046f7a5647a62561fbe40 Mon Sep 17 00:00:00 2001 From: Antonis Makropoulos Date: Thu, 29 Aug 2024 06:54:02 +0300 Subject: [PATCH 1/5] Fix naming showing full path when loading model --- Runtime/LLMManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; From 7bc6629261f34923d2d10345d051e7f564899ac0 Mon Sep 17 00:00:00 2001 From: amakropoulos Date: Thu, 29 Aug 2024 04:07:30 +0000 Subject: [PATCH 2/5] update changelogs --- CHANGELOG.md | 6 ++++++ CHANGELOG.release.md | 16 +--------------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5562a81e..4e6c1169 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## v2.2.1 +#### 🐛 Fixes + +- Fix naming showing full path when loading model (PR: #224) + + ## v2.2.0 #### 🚀 Features diff --git a/CHANGELOG.release.md b/CHANGELOG.release.md index d405932e..645125ac 100644 --- a/CHANGELOG.release.md +++ b/CHANGELOG.release.md @@ -1,18 +1,4 @@ -### 🚀 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) From c742690174a2ec317ba671028e08734fbcea3c1a Mon Sep 17 00:00:00 2001 From: amakropoulos Date: Thu, 29 Aug 2024 04:07:48 +0000 Subject: [PATCH 3/5] update VERSION --- .github/doxygen/Doxyfile | 2 +- Runtime/LLMUnitySetup.cs | 2 +- VERSION | 2 +- package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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/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", From adfa130e5e0dab4e16cff124b045e1e9f85f43ab Mon Sep 17 00:00:00 2001 From: Antonis Makropoulos Date: Thu, 29 Aug 2024 07:08:24 +0300 Subject: [PATCH 4/5] Fix parallel prompts --- Runtime/LLMCharacter.cs | 1 + 1 file changed, 1 insertion(+) 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. From 972a08ceac09569f4fbae2b3abf1ef9d55d4c166 Mon Sep 17 00:00:00 2001 From: amakropoulos Date: Thu, 29 Aug 2024 04:09:16 +0000 Subject: [PATCH 5/5] update changelogs --- CHANGELOG.md | 1 + CHANGELOG.release.md | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e6c1169..75de910a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ #### 🐛 Fixes - Fix naming showing full path when loading model (PR: #224) +- Fix parallel prompts (PR: #226) ## v2.2.0 diff --git a/CHANGELOG.release.md b/CHANGELOG.release.md index 645125ac..d47f2437 100644 --- a/CHANGELOG.release.md +++ b/CHANGELOG.release.md @@ -1,4 +1,5 @@ ### 🐛 Fixes - Fix naming showing full path when loading model (PR: #224) +- Fix parallel prompts (PR: #226)