From 871c3531f508bbb57f16b241e879b6b611e6f47e Mon Sep 17 00:00:00 2001 From: Marcin Szczyglinski Date: Mon, 3 Feb 2025 06:43:35 +0100 Subject: [PATCH] Updated version to 2.5.6 --- CHANGELOG.md | 5 +++++ PyGPT_Linux_PAD_File.xml | 6 +++--- PyGPT_Windows_PAD_File.xml | 6 +++--- README.md | 7 ++++++- bin/Product.wxs | 2 +- bin/build.sh | 2 +- bin/build_installer.bat | 2 +- docs/source/conf.py | 2 +- docs/source/index.rst | 2 +- pyproject.toml | 2 +- setup.py | 2 +- snap/snapcraft.yaml | 2 +- src/pygpt_net/CHANGELOG.txt | 5 +++++ src/pygpt_net/__init__.py | 6 +++--- src/pygpt_net/data/config/config.json | 6 +++--- src/pygpt_net/data/config/models.json | 6 +++--- src/pygpt_net/data/config/modes.json | 6 +++--- version.rc | 8 ++++---- 18 files changed, 46 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4d57dbc..64d369f9 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # CHANGELOG +## 2.5.6 (2025-02-03) + +- Fix: disabled index initialization if embedding provider is OpenAI and no API KEY is provided. +- Fix: embedding provider initialization on empty index. + ## 2.5.5 (2025-02-02) - Fix: system prompt apply. diff --git a/PyGPT_Linux_PAD_File.xml b/PyGPT_Linux_PAD_File.xml index c3084c3e..ab06f3e9 100644 --- a/PyGPT_Linux_PAD_File.xml +++ b/PyGPT_Linux_PAD_File.xml @@ -2,13 +2,13 @@ 4.0 PyGPT - Desktop AI Assistant -2.5.5 +2.5.6 02 -02 +03 2025 0 Open Source -https://pygpt.net/download/2.5.5/pygpt-2.5.5.zip +https://pygpt.net/download/2.5.6/pygpt-2.5.6.zip Linux 64 bit Generative AI Tools English, Polish diff --git a/PyGPT_Windows_PAD_File.xml b/PyGPT_Windows_PAD_File.xml index 35ac070e..90516cda 100644 --- a/PyGPT_Windows_PAD_File.xml +++ b/PyGPT_Windows_PAD_File.xml @@ -2,13 +2,13 @@ 4.0 PyGPT - Desktop AI Assistant -2.5.5 +2.5.6 02 -02 +03 2025 0 Open Source -https://pygpt.net/download/2.5.5/pygpt-2.5.5.msi +https://pygpt.net/download/2.5.6/pygpt-2.5.6.msi Windows 10 64 bit, Windows 11 64 bit Generative AI Tools English, Polish diff --git a/README.md b/README.md index a384781d..f0b4d1fd 100755 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![pygpt](https://snapcraft.io/pygpt/badge.svg)](https://snapcraft.io/pygpt) -Release: **2.5.5** | build: **2025.02.02** | Python: **>=3.10, <3.13** +Release: **2.5.6** | build: **2025.02.03** | Python: **>=3.10, <3.13** > Official website: https://pygpt.net | Documentation: https://pygpt.readthedocs.io > @@ -3964,6 +3964,11 @@ may consume additional tokens that are not displayed in the main window. ## Recent changes: +**2.5.6 (2025-02-03)** + +- Fix: disabled index initialization if embedding provider is OpenAI and no API KEY is provided. +- Fix: embedding provider initialization on empty index. + **2.5.5 (2025-02-02)** - Fix: system prompt apply. diff --git a/bin/Product.wxs b/bin/Product.wxs index bfc7f7ef..459eb4de 100755 --- a/bin/Product.wxs +++ b/bin/Product.wxs @@ -33,7 +33,7 @@ - + diff --git a/bin/build.sh b/bin/build.sh index 4b83b5d4..935714a6 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -1,7 +1,7 @@ #!/bin/bash # This script is used to build the app using pyinstaller -VERSION="2.5.5" +VERSION="2.5.6" cd "$(dirname "$0")" DIR_CURRENT="$(pwd)" diff --git a/bin/build_installer.bat b/bin/build_installer.bat index deade943..983f686b 100755 --- a/bin/build_installer.bat +++ b/bin/build_installer.bat @@ -5,7 +5,7 @@ REM https://github.com/wixtoolset/wix3/releases/tag/wix3141rtm REM Set variables SET SourceDir=%CD%\..\dist\Windows SET InstallerOutputFolder=%CD%\..\dist -SET ProductVersion=2.5.5 +SET ProductVersion=2.5.6 SET ProductUpgradeCode=3FCD39F6-4965-4B51-A185-FC6E53CA431B SET WIX=C:\Program Files (x86)\WiX Toolset v3.14 SET SIGNTOOL=C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool diff --git a/docs/source/conf.py b/docs/source/conf.py index 2bf746b5..bbecee78 100755 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -9,7 +9,7 @@ project = 'PyGPT' copyright = '2025, pygpt.net' author = 'szczyglis-dev, Marcin Szczygliński' -release = '2.5.5' +release = '2.5.6' # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration diff --git a/docs/source/index.rst b/docs/source/index.rst index 6f75de6d..e19c5b7c 100755 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -6,7 +6,7 @@ PyGPT - pygpt.net ==================== -| **Release:** 2.5.5 (2025-02-02), Last update: 2025-02-02 02:00 +| **Release:** 2.5.6 (2025-02-03), Last update: 2025-02-03 02:00 | **Project Website:** https://pygpt.net | **GitHub:** https://github.com/szczyglis-dev/py-gpt | **Snap Store:** https://snapcraft.io/pygpt diff --git a/pyproject.toml b/pyproject.toml index 098f428a..6cc16bb0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pygpt-net" -version = "2.5.5" +version = "2.5.6" description = "Desktop AI Assistant powered by models: OpenAI o1, GPT-4o, GPT-4, GPT-4 Vision, GPT-3.5, DALL-E 3, Llama 3, Mistral, Gemini, Claude, DeepSeek, Bielik, and other models supported by Langchain, Llama Index, and Ollama. Features include chatbot, text completion, image generation, vision analysis, speech-to-text, internet access, file handling, command execution and more." authors = ["Marcin Szczyglinski "] license = "MIT" diff --git a/setup.py b/setup.py index c3aefdc0..74f76f1e 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import setup, find_packages -VERSION = '2.5.5' +VERSION = '2.5.6' DESCRIPTION = 'Desktop AI Assistant powered by models: OpenAI o1, GPT-4o, GPT-4, GPT-4 Vision, GPT-3.5, DALL-E 3, Llama 3, Mistral, Gemini, Claude, Bielik, and other models supported by Langchain, Llama Index, and Ollama. Features include chatbot, text completion, image generation, vision analysis, speech-to-text, internet access, file handling, command execution and more.' LONG_DESCRIPTION = 'Package contains a gpt-4, gpt-4V, gpt-3.5, DALL-E 3, Langchain LLMs and Llama-index powered ' \ 'Desktop AI Assistant with chatbot, text completion, vision and image generation, internet ' \ diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index baf96773..26df1ad8 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,6 +1,6 @@ name: pygpt base: core22 # Ubuntu 22.04 -version: '2.5.5' +version: '2.5.6' summary: Desktop AI Assistant - o1, gpt-4, gpt-4-vision, chat, assistant, vision. description: | **PyGPT** is **all-in-one** Desktop AI Assistant that provides direct interaction with OpenAI language models, including GPT-4, GPT-4 Vision, and GPT-3.5, through the OpenAI API. The application also integrates with alternative LLMs. diff --git a/src/pygpt_net/CHANGELOG.txt b/src/pygpt_net/CHANGELOG.txt index 15df2e57..1844c302 100755 --- a/src/pygpt_net/CHANGELOG.txt +++ b/src/pygpt_net/CHANGELOG.txt @@ -1,3 +1,8 @@ +2.5.6 (2025-02-03) + +- Fix: disabled index initialization if embedding provider is OpenAI and no API KEY is provided. +- Fix: embedding provider initialization on empty index. + 2.5.5 (2025-02-02) - Fix: system prompt apply. diff --git a/src/pygpt_net/__init__.py b/src/pygpt_net/__init__.py index 2cd731e6..005f9fef 100755 --- a/src/pygpt_net/__init__.py +++ b/src/pygpt_net/__init__.py @@ -6,15 +6,15 @@ # GitHub: https://github.com/szczyglis-dev/py-gpt # # MIT License # # Created By : Marcin Szczygliński # -# Updated Date: 2025.02.02 02:00:00 # +# Updated Date: 2025.02.03 02:00:00 # # ================================================== # __author__ = "Marcin Szczygliński" __copyright__ = "Copyright 2025, Marcin Szczygliński" __credits__ = ["Marcin Szczygliński"] __license__ = "MIT" -__version__ = "2.5.5" -__build__ = "2025.02.02" +__version__ = "2.5.6" +__build__ = "2025.02.03" __maintainer__ = "Marcin Szczygliński" __github__ = "https://github.com/szczyglis-dev/py-gpt" __report__ = "https://github.com/szczyglis-dev/py-gpt/issues" diff --git a/src/pygpt_net/data/config/config.json b/src/pygpt_net/data/config/config.json index 9a4c3865..664e59d4 100755 --- a/src/pygpt_net/data/config/config.json +++ b/src/pygpt_net/data/config/config.json @@ -1,8 +1,8 @@ { "__meta__": { - "version": "2.5.5", - "app.version": "2.5.5", - "updated_at": "2025-02-02T00:00:00" + "version": "2.5.6", + "app.version": "2.5.6", + "updated_at": "2025-02-03T00:00:00" }, "access.audio.event.speech": false, "access.audio.event.speech.disabled": [], diff --git a/src/pygpt_net/data/config/models.json b/src/pygpt_net/data/config/models.json index 63a8e64e..64201b4e 100755 --- a/src/pygpt_net/data/config/models.json +++ b/src/pygpt_net/data/config/models.json @@ -1,8 +1,8 @@ { "__meta__": { - "version": "2.5.5", - "app.version": "2.5.5", - "updated_at": "2025-02-02T00:00:00" + "version": "2.5.6", + "app.version": "2.5.6", + "updated_at": "2025-02-03T00:00:00" }, "items": { "claude-3-5-sonnet-20240620": { diff --git a/src/pygpt_net/data/config/modes.json b/src/pygpt_net/data/config/modes.json index e4c857ec..19707a89 100644 --- a/src/pygpt_net/data/config/modes.json +++ b/src/pygpt_net/data/config/modes.json @@ -1,8 +1,8 @@ { "__meta__": { - "version": "2.5.5", - "app.version": "2.5.5", - "updated_at": "2025-02-02T00:00:00" + "version": "2.5.6", + "app.version": "2.5.6", + "updated_at": "2025-02-03T00:00:00" }, "items": { "chat": { diff --git a/version.rc b/version.rc index 0ab4df84..c5c6bccd 100755 --- a/version.rc +++ b/version.rc @@ -1,7 +1,7 @@ VSVersionInfo( ffi=FixedFileInfo( - filevers=(2, 5, 5, 0), - prodvers=(2, 5, 5, 0), + filevers=(2, 5, 6, 0), + prodvers=(2, 5, 6, 0), mask=0x3f, flags=0x0, OS=0x4, @@ -16,12 +16,12 @@ StringFileInfo( u'040904B0', [StringStruct(u'CompanyName', u'pygpt.net'), StringStruct(u'FileDescription', u'Desktop AI Assistant powered by o1, GPT-4, GPT-3 and DALL-E 3: assistant, chatbot, text completion, image generation, vision and more.'), - StringStruct(u'FileVersion', u'2.5.5'), + StringStruct(u'FileVersion', u'2.5.6'), StringStruct(u'InternalName', u'pygpt'), StringStruct(u'LegalCopyright', u'(c) 2025 pygpt.net, Marcin Szczygliński'), StringStruct(u'OriginalFilename', u'pygpt.exe'), StringStruct(u'ProductName', u'pygpt.net'), - StringStruct(u'ProductVersion', u'2.5.5')]) + StringStruct(u'ProductVersion', u'2.5.6')]) ]), VarFileInfo([VarStruct(u'Translation', [1033, 1200])]) ]