diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a4d685..e39153b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [2.4.2] - 2025-08-05 + +### Fixed + +- fix(chatwithtools): Try to prevent leaking prompt parts +- fix(chatwithtools): Allow llm to see its own tool call in the chat history +- Add curl dependency to Dockerfile +- Update dependencies + ## [2.4.1] - 2025-05-12 ### Fixed @@ -162,4 +171,4 @@ fix(ci): app_api is pre-installed from NC 31 (#37) Anupam Kumar* 03.10.24, 14:13 ### New feat: Update prompts and add new task types -feat: Add task processing API \ No newline at end of file +feat: Add task processing API diff --git a/Makefile b/Makefile index 5637273..b100666 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ APP_ID := llm2 APP_NAME := Local large language model -APP_VERSION := 2.4.1 +APP_VERSION := $$(xmlstarlet sel -t -v "//version" appinfo/info.xml) JSON_INFO := "{\"id\":\"$(APP_ID)\",\"name\":\"$(APP_NAME)\",\"daemon_config_name\":\"manual_install\",\"version\":\"$(APP_VERSION)\",\"secret\":\"12345\",\"port\":9081}" @@ -19,14 +19,14 @@ help: @echo " > Next commands are only for the dev environment with nextcloud-docker-dev!" @echo " > They must be run from the host you are developing on, not in a Nextcloud container!" @echo " " - @echo " run29 installs $(APP_NAME) for Nextcloud 29" @echo " run30 installs $(APP_NAME) for Nextcloud 30" + @echo " run31 installs $(APP_NAME) for Nextcloud 31" @echo " run installs $(APP_NAME) for Nextcloud Latest" @echo " " @echo " > Commands for manual registration of ExApp($(APP_NAME) should be running!):" @echo " " - @echo " register29 performs registration of running $(APP_NAME) into the 'manual_install' deploy daemon." @echo " register30 performs registration of running $(APP_NAME) into the 'manual_install' deploy daemon." + @echo " register31 performs registration of running $(APP_NAME) into the 'manual_install' deploy daemon." @echo " register performs registration of running $(APP_NAME) into the 'manual_install' deploy daemon." @@ -35,34 +35,34 @@ build-push: docker login ghcr.io docker buildx build --push --platform linux/amd64 --tag ghcr.io/nextcloud/$(APP_ID):$(APP_VERSION) --tag ghcr.io/nextcloud/$(APP_ID):latest . -.PHONY: run29 -run29: - docker exec master-stable29-1 sudo -u www-data php occ app_api:app:unregister $(APP_ID) --silent --force || true - docker exec master-stable29-1 sudo -u www-data php occ app_api:app:register $(APP_ID) \ - --info-xml https://raw.githubusercontent.com/nextcloud/$(APP_ID)/main/appinfo/info.xml - .PHONY: run30 run30: docker exec master-stable30-1 sudo -u www-data php occ app_api:app:unregister $(APP_ID) --silent --force || true docker exec master-stable30-1 sudo -u www-data php occ app_api:app:register $(APP_ID) \ --info-xml https://raw.githubusercontent.com/nextcloud/$(APP_ID)/main/appinfo/info.xml +.PHONY: run31 +run31: + docker exec master-stable31-1 sudo -u www-data php occ app_api:app:unregister $(APP_ID) --silent --force || true + docker exec master-stable31-1 sudo -u www-data php occ app_api:app:register $(APP_ID) \ + --info-xml https://raw.githubusercontent.com/nextcloud/$(APP_ID)/main/appinfo/info.xml + .PHONY: run run: docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:unregister $(APP_ID) --silent --force || true docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:register $(APP_ID) \ --info-xml https://raw.githubusercontent.com/nextcloud/$(APP_ID)/main/appinfo/info.xml -.PHONY: register29 -register29: - docker exec master-stable29-1 sudo -u www-data php occ app_api:app:unregister $(APP_ID) --silent --force || true - docker exec master-stable29-1 sudo -u www-data php occ app_api:app:register $(APP_ID) manual_install --json-info $(JSON_INFO) --wait-finish - .PHONY: register30 register30: docker exec master-stable30-1 sudo -u www-data php occ app_api:app:unregister $(APP_ID) --silent --force || true docker exec master-stable30-1 sudo -u www-data php occ app_api:app:register $(APP_ID) manual_install --json-info $(JSON_INFO) --wait-finish +.PHONY: register31 +register31: + docker exec master-stable31-1 sudo -u www-data php occ app_api:app:unregister $(APP_ID) --silent --force || true + docker exec master-stable31-1 sudo -u www-data php occ app_api:app:register $(APP_ID) manual_install --json-info $(JSON_INFO) --wait-finish + .PHONY: register register: docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:unregister $(APP_ID) --silent --force || true diff --git a/appinfo/info.xml b/appinfo/info.xml index fcebde8..ff8f7d0 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -13,7 +13,7 @@ See [the nextcloud admin docs](https://docs.nextcloud.com/server/latest/admin_manual/ai/index.html) for more information. ]]> - 2.4.1 + 2.4.2 MIT Marcel Klehr Alexander Piskun @@ -30,7 +30,7 @@ See [the nextcloud admin docs](https://docs.nextcloud.com/server/latest/admin_ma ghcr.io nextcloud/llm2 - 2.4.1 + 2.4.2 false