From eddddd503480df0a901dcf4fe0a52c3b0ac2794e Mon Sep 17 00:00:00 2001 From: veguAI <152010387+vegu-ai-tools@users.noreply.github.com> Date: Sat, 23 Aug 2025 19:20:39 +0300 Subject: [PATCH] 0.32.2 (#216) * fix api url error in koboldcpp * set 0.32.2 * relock * add 0.32.2 note --- pyproject.toml | 2 +- src/talemate/client/koboldcpp.py | 8 ++++++++ src/talemate/version.py | 2 +- talemate_frontend/package-lock.json | 4 ++-- talemate_frontend/package.json | 2 +- talemate_frontend/src/components/WhatsNew.vue | 14 +++++++++++++- uv.lock | 18 +++++++++--------- 7 files changed, 35 insertions(+), 15 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index be97b3e4..aa153fb0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "talemate" -version = "0.32.1" +version = "0.32.2" description = "AI-backed roleplay and narrative tools" authors = [{name = "VeguAITools"}] license = {text = "GNU Affero General Public License v3.0"} diff --git a/src/talemate/client/koboldcpp.py b/src/talemate/client/koboldcpp.py index cedc927a..c0e4daf1 100644 --- a/src/talemate/client/koboldcpp.py +++ b/src/talemate/client/koboldcpp.py @@ -193,6 +193,14 @@ class KoboldCppClient(ClientBase): def default_prompt_template(self) -> str: return "KoboldAI.jinja2" + @property + def api_url(self) -> str: + return self.client_config.api_url + + @api_url.setter + def api_url(self, value: str): + self.client_config.api_url = value + def api_endpoint_specified(self, url: str) -> bool: return "/v1" in self.api_url diff --git a/src/talemate/version.py b/src/talemate/version.py index 4e436600..5a04f6dc 100644 --- a/src/talemate/version.py +++ b/src/talemate/version.py @@ -1,3 +1,3 @@ __all__ = ["VERSION"] -VERSION = "0.32.1" +VERSION = "0.32.2" diff --git a/talemate_frontend/package-lock.json b/talemate_frontend/package-lock.json index fc540b5c..42f6c694 100644 --- a/talemate_frontend/package-lock.json +++ b/talemate_frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "talemate_frontend", - "version": "0.32.1", + "version": "0.32.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "talemate_frontend", - "version": "0.32.1", + "version": "0.32.2", "dependencies": { "@codemirror/lang-json": "^6.0.1", "@codemirror/lang-markdown": "^6.2.5", diff --git a/talemate_frontend/package.json b/talemate_frontend/package.json index be02a4aa..b3109662 100644 --- a/talemate_frontend/package.json +++ b/talemate_frontend/package.json @@ -1,6 +1,6 @@ { "name": "talemate_frontend", - "version": "0.32.1", + "version": "0.32.2", "private": true, "type": "module", "scripts": { diff --git a/talemate_frontend/src/components/WhatsNew.vue b/talemate_frontend/src/components/WhatsNew.vue index 63ee2e7d..e14acc27 100644 --- a/talemate_frontend/src/components/WhatsNew.vue +++ b/talemate_frontend/src/components/WhatsNew.vue @@ -75,8 +75,20 @@ export default { data() { return { expand: false, - selected: "0.32.1", + selected: "0.32.2", whatsNew: [ + { + version: '0.32.2', + items: [ + { + title: "Bugfix release", + description: "Bug fixes and connection improvements.", + items: [ + "Fix KoboldCpp connection issues" + ] + } + ] + }, { version: '0.32.1', items: [ diff --git a/uv.lock b/uv.lock index df21bd8d..fdfc8193 100644 --- a/uv.lock +++ b/uv.lock @@ -5551,7 +5551,7 @@ wheels = [ [[package]] name = "talemate" -version = "0.32.1" +version = "0.32.2" source = { editable = "." } dependencies = [ { name = "aiofiles" }, @@ -5908,14 +5908,14 @@ dependencies = [ { name = "typing-extensions" }, ] wheels = [ - { url = "https://download.pytorch.org/whl/cu128/torch-2.8.0%2Bcu128-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:039b9dcdd6bdbaa10a8a5cd6be22c4cb3e3589a341e5f904cbb571ca28f55bed" }, - { url = "https://download.pytorch.org/whl/cu128/torch-2.8.0%2Bcu128-cp311-cp311-win_amd64.whl", hash = "sha256:34c55443aafd31046a7963b63d30bc3b628ee4a704f826796c865fdfd05bb596" }, - { url = "https://download.pytorch.org/whl/cu128/torch-2.8.0%2Bcu128-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:4354fc05bb79b208d6995a04ca1ceef6a9547b1c4334435574353d381c55087c" }, - { url = "https://download.pytorch.org/whl/cu128/torch-2.8.0%2Bcu128-cp312-cp312-win_amd64.whl", hash = "sha256:0ad925202387f4e7314302a1b4f8860fa824357f9b1466d7992bf276370ebcff" }, - { url = "https://download.pytorch.org/whl/cu128/torch-2.8.0%2Bcu128-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:3a852369a38dec343d45ecd0bc3660f79b88a23e0c878d18707f7c13bf49538f" }, - { url = "https://download.pytorch.org/whl/cu128/torch-2.8.0%2Bcu128-cp313-cp313-win_amd64.whl", hash = "sha256:9e20646802b7fc295c1f8b45fefcfc9fb2e4ec9cbe8593443cd2b9cc307c8405" }, - { url = "https://download.pytorch.org/whl/cu128/torch-2.8.0%2Bcu128-cp313-cp313t-manylinux_2_28_x86_64.whl", hash = "sha256:4295a22d69408e93d25f51e8d5d579345b6b802383e9414b0f3853ed433d53ae" }, - { url = "https://download.pytorch.org/whl/cu128/torch-2.8.0%2Bcu128-cp313-cp313t-win_amd64.whl", hash = "sha256:970b4f4661fa7b44f6a7e6df65de7fc4a6fff2af610dc415c1d695ca5f1f37d2" }, + { url = "https://download.pytorch.org/whl/cu128/torch-2.8.0%2Bcu128-cp311-cp311-manylinux_2_28_x86_64.whl" }, + { url = "https://download.pytorch.org/whl/cu128/torch-2.8.0%2Bcu128-cp311-cp311-win_amd64.whl" }, + { url = "https://download.pytorch.org/whl/cu128/torch-2.8.0%2Bcu128-cp312-cp312-manylinux_2_28_x86_64.whl" }, + { url = "https://download.pytorch.org/whl/cu128/torch-2.8.0%2Bcu128-cp312-cp312-win_amd64.whl" }, + { url = "https://download.pytorch.org/whl/cu128/torch-2.8.0%2Bcu128-cp313-cp313-manylinux_2_28_x86_64.whl" }, + { url = "https://download.pytorch.org/whl/cu128/torch-2.8.0%2Bcu128-cp313-cp313-win_amd64.whl" }, + { url = "https://download.pytorch.org/whl/cu128/torch-2.8.0%2Bcu128-cp313-cp313t-manylinux_2_28_x86_64.whl" }, + { url = "https://download.pytorch.org/whl/cu128/torch-2.8.0%2Bcu128-cp313-cp313t-win_amd64.whl" }, ] [[package]]