pygpt-net 2.6.21__py3-none-any.whl → 2.6.23__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. pygpt_net/CHANGELOG.txt +12 -0
  2. pygpt_net/__init__.py +3 -3
  3. pygpt_net/app.py +3 -1
  4. pygpt_net/controller/__init__.py +4 -8
  5. pygpt_net/controller/access/voice.py +2 -2
  6. pygpt_net/controller/agent/llama.py +3 -0
  7. pygpt_net/controller/assistant/batch.py +2 -3
  8. pygpt_net/controller/assistant/editor.py +2 -2
  9. pygpt_net/controller/assistant/files.py +2 -3
  10. pygpt_net/controller/assistant/store.py +2 -2
  11. pygpt_net/controller/audio/audio.py +2 -2
  12. pygpt_net/controller/chat/response.py +4 -0
  13. pygpt_net/controller/ctx/ctx.py +2 -1
  14. pygpt_net/controller/files/files.py +24 -55
  15. pygpt_net/controller/idx/indexer.py +85 -76
  16. pygpt_net/controller/lang/lang.py +52 -34
  17. pygpt_net/controller/model/importer.py +2 -2
  18. pygpt_net/controller/notepad/notepad.py +86 -84
  19. pygpt_net/controller/plugins/settings.py +3 -4
  20. pygpt_net/controller/settings/profile.py +105 -124
  21. pygpt_net/controller/theme/menu.py +154 -57
  22. pygpt_net/controller/theme/nodes.py +51 -44
  23. pygpt_net/controller/theme/theme.py +33 -9
  24. pygpt_net/controller/tools/tools.py +2 -2
  25. pygpt_net/controller/ui/tabs.py +2 -3
  26. pygpt_net/core/agents/observer/evaluation.py +2 -2
  27. pygpt_net/core/agents/runners/loop.py +1 -0
  28. pygpt_net/core/bridge/bridge.py +2 -0
  29. pygpt_net/core/ctx/container.py +13 -12
  30. pygpt_net/core/ctx/output.py +7 -4
  31. pygpt_net/core/debug/console/console.py +2 -2
  32. pygpt_net/core/filesystem/actions.py +1 -2
  33. pygpt_net/core/filesystem/opener.py +261 -0
  34. pygpt_net/core/filesystem/url.py +13 -10
  35. pygpt_net/core/platforms/platforms.py +5 -4
  36. pygpt_net/core/render/plain/helpers.py +2 -5
  37. pygpt_net/core/render/plain/renderer.py +26 -30
  38. pygpt_net/core/render/web/body.py +1 -1
  39. pygpt_net/core/settings/settings.py +43 -13
  40. pygpt_net/core/tabs/tabs.py +20 -13
  41. pygpt_net/data/config/config.json +4 -4
  42. pygpt_net/data/config/models.json +3 -3
  43. pygpt_net/data/css/web-blocks.dark.css +7 -1
  44. pygpt_net/data/css/web-blocks.light.css +5 -2
  45. pygpt_net/data/css/web-chatgpt.dark.css +7 -1
  46. pygpt_net/data/css/web-chatgpt.light.css +3 -0
  47. pygpt_net/data/css/web-chatgpt_wide.dark.css +7 -1
  48. pygpt_net/data/css/web-chatgpt_wide.light.css +3 -0
  49. pygpt_net/data/locale/locale.de.ini +5 -1
  50. pygpt_net/data/locale/locale.en.ini +5 -1
  51. pygpt_net/data/locale/locale.es.ini +5 -1
  52. pygpt_net/data/locale/locale.fr.ini +5 -1
  53. pygpt_net/data/locale/locale.it.ini +5 -1
  54. pygpt_net/data/locale/locale.pl.ini +6 -4
  55. pygpt_net/data/locale/locale.uk.ini +5 -1
  56. pygpt_net/data/locale/locale.zh.ini +5 -1
  57. pygpt_net/plugin/twitter/plugin.py +2 -2
  58. pygpt_net/provider/core/config/patch.py +12 -1
  59. pygpt_net/tools/audio_transcriber/ui/dialogs.py +44 -54
  60. pygpt_net/tools/code_interpreter/body.py +1 -2
  61. pygpt_net/tools/code_interpreter/tool.py +7 -4
  62. pygpt_net/tools/code_interpreter/ui/html.py +1 -3
  63. pygpt_net/tools/code_interpreter/ui/widgets.py +2 -3
  64. pygpt_net/tools/html_canvas/ui/widgets.py +1 -3
  65. pygpt_net/tools/image_viewer/ui/dialogs.py +40 -37
  66. pygpt_net/tools/indexer/ui/widgets.py +2 -4
  67. pygpt_net/tools/media_player/tool.py +2 -5
  68. pygpt_net/tools/media_player/ui/widgets.py +60 -36
  69. pygpt_net/tools/text_editor/ui/widgets.py +18 -19
  70. pygpt_net/tools/translator/ui/widgets.py +39 -35
  71. pygpt_net/ui/base/context_menu.py +9 -4
  72. pygpt_net/ui/dialog/db.py +1 -3
  73. pygpt_net/ui/dialog/models.py +1 -3
  74. pygpt_net/ui/dialog/models_importer.py +2 -4
  75. pygpt_net/ui/dialogs.py +34 -30
  76. pygpt_net/ui/layout/chat/attachments.py +72 -84
  77. pygpt_net/ui/layout/chat/attachments_ctx.py +40 -44
  78. pygpt_net/ui/layout/chat/attachments_uploaded.py +36 -39
  79. pygpt_net/ui/layout/chat/calendar.py +100 -70
  80. pygpt_net/ui/layout/chat/chat.py +23 -17
  81. pygpt_net/ui/layout/chat/input.py +95 -118
  82. pygpt_net/ui/layout/chat/output.py +100 -162
  83. pygpt_net/ui/layout/chat/painter.py +89 -61
  84. pygpt_net/ui/layout/ctx/ctx_list.py +43 -52
  85. pygpt_net/ui/layout/status.py +23 -14
  86. pygpt_net/ui/layout/toolbox/agent.py +27 -38
  87. pygpt_net/ui/layout/toolbox/agent_llama.py +41 -45
  88. pygpt_net/ui/layout/toolbox/assistants.py +42 -38
  89. pygpt_net/ui/layout/toolbox/computer_env.py +32 -23
  90. pygpt_net/ui/layout/toolbox/footer.py +13 -16
  91. pygpt_net/ui/layout/toolbox/image.py +18 -21
  92. pygpt_net/ui/layout/toolbox/indexes.py +46 -89
  93. pygpt_net/ui/layout/toolbox/mode.py +20 -7
  94. pygpt_net/ui/layout/toolbox/model.py +12 -10
  95. pygpt_net/ui/layout/toolbox/presets.py +68 -52
  96. pygpt_net/ui/layout/toolbox/prompt.py +31 -58
  97. pygpt_net/ui/layout/toolbox/toolbox.py +25 -21
  98. pygpt_net/ui/layout/toolbox/vision.py +20 -22
  99. pygpt_net/ui/main.py +2 -4
  100. pygpt_net/ui/menu/about.py +64 -84
  101. pygpt_net/ui/menu/audio.py +87 -63
  102. pygpt_net/ui/menu/config.py +121 -127
  103. pygpt_net/ui/menu/debug.py +69 -76
  104. pygpt_net/ui/menu/file.py +32 -35
  105. pygpt_net/ui/menu/menu.py +2 -3
  106. pygpt_net/ui/menu/plugins.py +69 -33
  107. pygpt_net/ui/menu/theme.py +45 -46
  108. pygpt_net/ui/menu/tools.py +56 -60
  109. pygpt_net/ui/menu/video.py +20 -25
  110. pygpt_net/ui/tray.py +1 -2
  111. pygpt_net/ui/widget/audio/bar.py +1 -3
  112. pygpt_net/ui/widget/audio/input_button.py +3 -4
  113. pygpt_net/ui/widget/calendar/select.py +1 -2
  114. pygpt_net/ui/widget/dialog/base.py +12 -9
  115. pygpt_net/ui/widget/dialog/editor_file.py +20 -23
  116. pygpt_net/ui/widget/dialog/find.py +25 -24
  117. pygpt_net/ui/widget/dialog/profile.py +57 -53
  118. pygpt_net/ui/widget/draw/painter.py +62 -93
  119. pygpt_net/ui/widget/element/button.py +42 -30
  120. pygpt_net/ui/widget/element/checkbox.py +23 -15
  121. pygpt_net/ui/widget/element/group.py +6 -5
  122. pygpt_net/ui/widget/element/labels.py +1 -2
  123. pygpt_net/ui/widget/filesystem/explorer.py +93 -102
  124. pygpt_net/ui/widget/image/display.py +1 -2
  125. pygpt_net/ui/widget/lists/assistant.py +1 -2
  126. pygpt_net/ui/widget/lists/attachment.py +1 -2
  127. pygpt_net/ui/widget/lists/attachment_ctx.py +1 -2
  128. pygpt_net/ui/widget/lists/context.py +2 -4
  129. pygpt_net/ui/widget/lists/index.py +1 -2
  130. pygpt_net/ui/widget/lists/model.py +1 -2
  131. pygpt_net/ui/widget/lists/model_editor.py +1 -2
  132. pygpt_net/ui/widget/lists/model_importer.py +1 -2
  133. pygpt_net/ui/widget/lists/preset.py +1 -2
  134. pygpt_net/ui/widget/lists/preset_plugins.py +1 -2
  135. pygpt_net/ui/widget/lists/profile.py +1 -2
  136. pygpt_net/ui/widget/lists/uploaded.py +1 -2
  137. pygpt_net/ui/widget/option/checkbox.py +2 -4
  138. pygpt_net/ui/widget/option/checkbox_list.py +1 -4
  139. pygpt_net/ui/widget/option/cmd.py +1 -4
  140. pygpt_net/ui/widget/option/dictionary.py +25 -28
  141. pygpt_net/ui/widget/option/input.py +1 -3
  142. pygpt_net/ui/widget/tabs/Input.py +16 -12
  143. pygpt_net/ui/widget/tabs/body.py +5 -3
  144. pygpt_net/ui/widget/tabs/layout.py +41 -28
  145. pygpt_net/ui/widget/tabs/output.py +442 -85
  146. pygpt_net/ui/widget/textarea/calendar_note.py +1 -2
  147. pygpt_net/ui/widget/textarea/editor.py +41 -73
  148. pygpt_net/ui/widget/textarea/find.py +11 -10
  149. pygpt_net/ui/widget/textarea/html.py +3 -6
  150. pygpt_net/ui/widget/textarea/input.py +134 -69
  151. pygpt_net/ui/widget/textarea/notepad.py +54 -38
  152. pygpt_net/ui/widget/textarea/output.py +65 -54
  153. pygpt_net/ui/widget/textarea/search_input.py +5 -4
  154. pygpt_net/ui/widget/textarea/web.py +2 -4
  155. pygpt_net/ui/widget/vision/camera.py +2 -31
  156. {pygpt_net-2.6.21.dist-info → pygpt_net-2.6.23.dist-info}/METADATA +38 -174
  157. {pygpt_net-2.6.21.dist-info → pygpt_net-2.6.23.dist-info}/RECORD +160 -159
  158. {pygpt_net-2.6.21.dist-info → pygpt_net-2.6.23.dist-info}/LICENSE +0 -0
  159. {pygpt_net-2.6.21.dist-info → pygpt_net-2.6.23.dist-info}/WHEEL +0 -0
  160. {pygpt_net-2.6.21.dist-info → pygpt_net-2.6.23.dist-info}/entry_points.txt +0 -0
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pygpt-net
3
- Version: 2.6.21
4
- Summary: Desktop AI Assistant powered by: OpenAI GPT-5, o1, o3, GPT-4, Gemini, Claude, Grok, DeepSeek, and other models supported by Llama Index, and Ollama. Chatbot, agents, completion, image generation, vision analysis, speech-to-text, plugins, internet access, file handling, command execution and more.
3
+ Version: 2.6.23
4
+ Summary: Desktop AI Assistant powered by: OpenAI GPT-5, GPT-4, o1, o3, Gemini, Claude, Grok, DeepSeek, and other models supported by Llama Index, and Ollama. Chatbot, agents, completion, image generation, vision analysis, speech-to-text, plugins, internet access, file handling, command execution and more.
5
5
  License: MIT
6
- Keywords: py_gpt,py-gpt,pygpt,desktop,app,o1,o3,gpt-5,gpt,gpt4,gpt-4o,gpt-4v,gpt3.5,gpt-4,gpt-4-vision,gpt-3.5,llama3,mistral,gemini,grok,deepseek,bielik,claude,tts,whisper,vision,chatgpt,dall-e,chat,chatbot,assistant,text completion,image generation,ai,api,openai,api key,langchain,llama-index,ollama,presets,ui,qt,pyside
6
+ Keywords: ai,api,api key,app,assistant,bielik,chat,chatbot,chatgpt,claude,dall-e,deepseek,desktop,gemini,gpt,gpt-3.5,gpt-4,gpt-4-vision,gpt-4o,gpt-5,gpt-oss,gpt3.5,gpt4,grok,langchain,llama-index,llama3,mistral,o1,o3,ollama,openai,presets,py-gpt,py_gpt,pygpt,pyside,qt,text completion,tts,ui,vision,whisper
7
7
  Author: Marcin Szczyglinski
8
8
  Author-email: info@pygpt.net
9
9
  Requires-Python: >=3.10,<3.14
@@ -111,7 +111,7 @@ Description-Content-Type: text/markdown
111
111
 
112
112
  [![pygpt](https://snapcraft.io/pygpt/badge.svg)](https://snapcraft.io/pygpt)
113
113
 
114
- Release: **2.6.21** | build: **2025-08-24** | Python: **>=3.10, <3.14**
114
+ Release: **2.6.23** | build: **2025-08-25** | Python: **>=3.10, <3.14**
115
115
 
116
116
  > Official website: https://pygpt.net | Documentation: https://pygpt.readthedocs.io
117
117
  >
@@ -123,15 +123,15 @@ Release: **2.6.21** | build: **2025-08-24** | Python: **>=3.10, <3.14**
123
123
 
124
124
  ## Overview
125
125
 
126
- **PyGPT** is **all-in-one** Desktop AI Assistant that provides direct interaction with OpenAI language models, including `gpt-5`, `o1`, `o3`, `gpt-4o`, `gpt-4`, `gpt-4 Vision`, and `gpt-3.5`, through the `OpenAI API`. By utilizing `LlamaIndex`, the application also supports alternative LLMs, like those available on `HuggingFace`, locally available models via `Ollama` (like `Llama 3`,`Mistral`, `DeepSeek V3/R1` or `Bielik`), `Google Gemini`, `Anthropic Claude`, `Perplexity Sonar`, and `xAI Grok`.
126
+ **PyGPT** is **all-in-one** Desktop AI Assistant that provides direct interaction with OpenAI language models, including `GPT-5`, `GPT-4`, `o1`, `o3` and more, through the `OpenAI API`. By utilizing `LlamaIndex`, the application also supports alternative LLMs, like those available on `HuggingFace`, locally available models via `Ollama` (like `gpt-oss`, `Llama 3`,`Mistral`, `DeepSeek V3/R1` or `Bielik`), and other models like `Google Gemini`, `Anthropic Claude`, `Perplexity / Sonar`, and `xAI Grok`.
127
127
 
128
- This assistant offers multiple modes of operation such as chat, assistants, completions, and image-related tasks using `DALL-E 3` for generation and `gpt-4 Vision` for image analysis. **PyGPT** has filesystem capabilities for file I/O, can generate and run Python code, execute system commands, execute custom commands and manage file transfers. It also allows models to perform web searches with the `Google` and `Microsoft Bing`.
128
+ This assistant offers multiple modes of operation such as chat, assistants, agents, completions, and image-related tasks like image generation and image analysis. **PyGPT** has filesystem capabilities for file I/O, can generate and run Python code, execute system commands, execute custom commands and manage file transfers. It also allows models to perform web searches with the `Google` and `Microsoft Bing`.
129
129
 
130
130
  For audio interactions, **PyGPT** includes speech synthesis using the `Microsoft Azure`, `Google`, `Eleven Labs` and `OpenAI` Text-To-Speech services. Additionally, it features speech recognition capabilities provided by `OpenAI Whisper`, `Google` and `Bing` enabling the application to understand spoken commands and transcribe audio inputs into text. It features context memory with save and load functionality, enabling users to resume interactions from predefined points in the conversation. Prompt creation and management are streamlined through an intuitive preset system.
131
131
 
132
- **PyGPT**'s functionality extends through plugin support, allowing for custom enhancements. Its multi-modal capabilities make it an adaptable tool for a range of AI-assisted operations, such as text-based interactions, system automation, daily assisting, vision applications, natural language processing, code generation and image creation.
132
+ **PyGPT**'s functionality extends through plugin support, allowing for custom enhancements (with multiple plugins included). Its multi-modal capabilities make it an adaptable tool for a range of AI-assisted operations, such as text-based interactions, system automation, daily assisting, vision applications, natural language processing, code generation and image creation.
133
133
 
134
- Multiple operation modes are included, such as chat, text completion, assistant, vision, Chat with Files (via `LlamaIndex`), commands execution, external API calls and image generation, making **PyGPT** a multi-tool for many AI-driven tasks.
134
+ Multiple operation modes are included, such as chat, text completion, assistant, agents, vision, Chat with Files (via `LlamaIndex`), commands execution, external API calls and image generation, making **PyGPT** a multi-tool for many AI-driven tasks.
135
135
 
136
136
  **Showcase** (mp4, version `2.5.65`, build `2025-07-24`):
137
137
 
@@ -152,7 +152,7 @@ You can download compiled 64-bit versions for Windows and Linux here: https://py
152
152
  - Desktop AI Assistant for `Linux`, `Windows` and `Mac`, written in Python.
153
153
  - Works similarly to `ChatGPT`, but locally (on a desktop computer).
154
154
  - 12 modes of operation: Chat, Chat with Files, Chat with Audio, Research (Perplexity), Completion, Image generation, Vision, Assistants, Experts, Computer use, Agents and Autonomous Mode.
155
- - Supports multiple models: `gpt-5`, `o1`, `o3`, `GPT-4o`, `GPT-4`, `GPT-3.5`, and any model accessible through `LlamaIndex` and `Ollama` such as `Llama 3`, `Mistral`, `Google Gemini`, `Anthropic Claude`, `xAI Grok`, `DeepSeek V3/R1`, `Perplexity Sonar`, `Bielik`, etc.
155
+ - Supports multiple models like `OpenAI GPT-5`, `GPT-4`, `o1`, `o3`, `o4`, `Google Gemini`, `Anthropic Claude`, `xAI Grok`, `DeepSeek V3/R1`, `Perplexity / Sonar`, and any model accessible through `LlamaIndex` and `Ollama` such as `DeepSeek`, `gpt-oss`, `Llama 3`, `Mistral`, `Bielik`, etc.
156
156
  - Chat with your own Files: integrated `LlamaIndex` support: chat with data such as: `txt`, `pdf`, `csv`, `html`, `md`, `docx`, `json`, `epub`, `xlsx`, `xml`, webpages, `Google`, `GitHub`, video/audio, images and other data types, or use conversation history as additional context provided to the model.
157
157
  - Built-in vector databases support and automated files and data embedding.
158
158
  - Included support features for individuals with disabilities: customizable keyboard shortcuts, voice control, and translation of on-screen actions into audio via speech synthesis.
@@ -161,7 +161,7 @@ You can download compiled 64-bit versions for Windows and Linux here: https://py
161
161
  - Speech synthesis via `Microsoft Azure`, `Google`, `Eleven Labs` and `OpenAI` Text-To-Speech services.
162
162
  - Speech recognition via `OpenAI Whisper`, `Google` and `Microsoft Speech Recognition`.
163
163
  - Real-time video camera capture in Vision mode.
164
- - Image analysis via `GPT-4 Vision` and `GPT-4o`.
164
+ - Image analysis via `GPT-5` and `GPT-4o`.
165
165
  - Integrated calendar, day notes and search in contexts by selected date.
166
166
  - Tools and commands execution (via plugins: access to the local filesystem, Python Code Interpreter, system commands execution, and more).
167
167
  - Custom commands creation and execution.
@@ -179,7 +179,7 @@ You can download compiled 64-bit versions for Windows and Linux here: https://py
179
179
  - Fully configurable.
180
180
  - Themes support.
181
181
  - Real-time code syntax highlighting.
182
- - Plugins support.
182
+ - Plugins support with built-in plugins like `Files I/O`, `Code Interpreter`, `Web Search`, `Google`, `Facebook`, `X/Twitter`, `Slack`, `Telegram`, `GitHub`, and many more.
183
183
  - Built-in token usage calculation.
184
184
  - Possesses the potential to support future OpenAI models.
185
185
  - **Open source**; source code is available on `GitHub`.
@@ -278,7 +278,7 @@ pygpt
278
278
 
279
279
  ## Running from GitHub source code
280
280
 
281
- An alternative method is to download the source code from `GitHub` and execute the application using the Python interpreter (`>=3.10`, `<3.13`).
281
+ An alternative method is to download the source code from `GitHub` and execute the application using the Python interpreter (`>=3.10`, `<3.14`).
282
282
 
283
283
  ### Install with pip
284
284
 
@@ -1915,7 +1915,7 @@ PyGPT can be extended with:
1915
1915
 
1916
1916
  - custom plugins
1917
1917
 
1918
- - custom LLMs wrappers
1918
+ - custom LLMs
1919
1919
 
1920
1920
  - custom vector store providers
1921
1921
 
@@ -1927,14 +1927,16 @@ PyGPT can be extended with:
1927
1927
 
1928
1928
  - custom web search engine providers
1929
1929
 
1930
+ - custom agents
1931
+
1930
1932
 
1931
1933
  See the section `Extending PyGPT / Adding a custom plugin` for more details.
1932
1934
 
1933
- # Functions and commands execution
1935
+ # Functions, commands and tools
1934
1936
 
1935
1937
  **Tip** remember to enable the `+ Tools` checkbox to enable execution of tools and commands from plugins.
1936
1938
 
1937
- From version `2.2.20` PyGPT uses native API function calls by default. You can go back to internal syntax (described below) by switching off option `Config -> Settings -> Prompts -> Use native API function calls`. Native API function calls are available in Chat, Completion and Assistant modes only (using OpenAI API).
1939
+ From version `2.2.20` PyGPT uses native API function calls by default. You can go back to internal syntax (described below) by switching off option `Config -> Settings -> Prompts -> Use native API function calls`. You must also enable `Tool calls` checkbox in model advanced settings to use native function calls with the specified model.
1938
1940
 
1939
1941
  In background, **PyGPT** uses an internal syntax to define commands and their parameters, which can then be used by the model and executed on the application side or even directly in the system. This syntax looks as follows (example command below):
1940
1942
 
@@ -1942,33 +1944,28 @@ In background, **PyGPT** uses an internal syntax to define commands and their pa
1942
1944
 
1943
1945
  It is a JSON object wrapped between `<tool>` tags. The application extracts the JSON object from such formatted text and executes the appropriate function based on the provided parameters and command name. Many of these types of commands are defined in plugins (e.g., those used for file operations or internet searches). You can also define your own commands using the `Custom Commands` plugin, or simply by creating your own plugin and adding it to the application.
1944
1946
 
1945
- **Tip:** The `+ Tools` option checkbox must be enabled to allow the execution of commands from plugins. Disable the option if you do not want to use commands, to prevent additional token usage (as the command execution system prompt consumes additional tokens).
1947
+ **Tip:** The `+ Tools` option checkbox must be enabled to allow the execution of commands from plugins. Disable the option if you do not want to use commands, to prevent additional token usage (as the command execution system prompt consumes additional tokens and may slow down local models).
1946
1948
 
1947
1949
  ![v2_code_execute](https://github.com/szczyglis-dev/py-gpt/raw/master/docs/source/images/v2_code_execute.png)
1948
1950
 
1949
1951
  When native API function calls are disabled, a special system prompt responsible for invoking commands is added to the main system prompt if the `+ Tools` option is active.
1950
1952
 
1951
1953
  However, there is an additional possibility to define your own commands and execute them with the help of model.
1952
- These are functions - defined on the OpenAI API side and described using JSON objects. You can find a complete guide on how to define functions here:
1954
+ These are functions / tools - defined on the API side and described using JSON objects. You can find a complete guide on how to define functions here:
1953
1955
 
1954
1956
  https://platform.openai.com/docs/guides/function-calling
1955
1957
 
1956
1958
  https://cookbook.openai.com/examples/how_to_call_functions_with_chat_models
1957
1959
 
1958
- PyGPT offers compatibility of these functions with commands used in the application. All you need to do is define the appropriate functions using the syntax required by OpenAI, and PyGPT will do the rest, translating such syntax on the fly into its own internal format.
1959
-
1960
- You can define functions for modes: `Chat` and `Assistants`.
1961
- Note that - in Chat mode, they should be defined in `Presets`, and for Assistants, in the `Assistant` settings.
1960
+ PyGPT offers compatibility of these functions with commands (tools) used in the application. All you need to do is define the appropriate functions using the correct JSON schema, and PyGPT will do the rest, translating such syntax on the fly into its own internal format.
1962
1961
 
1963
- **Example of usage:**
1962
+ Local functions and tools from plugins are available in all modes, except `Assistants`.
1964
1963
 
1965
- 1) Chat
1966
-
1967
- Create a new Preset, open the Preset edit dialog and add a new function using `+ Function` button with the following content:
1964
+ To enable local functions for `Assistants` mode (in this mode remote tools are used by default), create a new Assistant, open the Preset edit dialog and import tools from plugins or add a new function using `+ Function` button e.g. with the following content:
1968
1965
 
1969
1966
  **Name:** `send_email`
1970
1967
 
1971
- **Description:** `Sends a quote using email`
1968
+ **Description:** `Send a quote using email`
1972
1969
 
1973
1970
  **Params (JSON):**
1974
1971
 
@@ -1991,7 +1988,7 @@ Then, in the `Custom Commands` plugin, create a new command with the same name a
1991
1988
 
1992
1989
  **Command name:** `send_email`
1993
1990
 
1994
- **Instruction/prompt:** `send mail` *(don't needed, because it will be called on OpenAI side)*
1991
+ **Instruction/prompt:** `send mail`
1995
1992
 
1996
1993
  **Params list:** `quote`
1997
1994
 
@@ -1999,7 +1996,7 @@ Then, in the `Custom Commands` plugin, create a new command with the same name a
1999
1996
 
2000
1997
  At next, enable the `+ Tools` option and enable the plugin.
2001
1998
 
2002
- Ask model in Chat mode:
1999
+ Ask a model:
2003
2000
 
2004
2001
  ```Create a funny quote and email it```
2005
2002
 
@@ -2013,12 +2010,7 @@ As a result, response like this will be sent to the model:
2013
2010
 
2014
2011
  ```[{"request": {"cmd": "send_email"}, "result": "OK. Email sent: Why do we tell actors to 'break a leg?' Because every play has a cast!"}]```
2015
2012
 
2016
-
2017
- 2) Assistant
2018
-
2019
- In this mode (via Assistants API), it should be done similarly, with the difference that here the functions should be defined in the assistant's settings.
2020
-
2021
- With this flow you can use both forms - OpenAI and PyGPT - to define and execute commands and functions in the application. They will cooperate with each other and you can use them interchangeably.
2013
+ With this flow you can use both forms - API provider JSON schema and PyGPT schema - to define and execute commands and functions in the application. They will cooperate with each other and you can use them interchangeably.
2022
2014
 
2023
2015
  # Tools
2024
2016
 
@@ -3536,6 +3528,18 @@ may consume additional tokens that are not displayed in the main window.
3536
3528
 
3537
3529
  ## Recent changes:
3538
3530
 
3531
+ **2.6.23 (2025-08-25)**
3532
+
3533
+ - Added an inline "Add a new chat" button to the right of the tabs.
3534
+ - Added an "Add Attachment" button in the input field.
3535
+ - Improved file open in the system's file manager
3536
+ - Fixed the restoration of input text color when changing themes from light to dark.
3537
+ - Fixed last eval step finish if 100% complete.
3538
+ -
3539
+ **2.6.22 (2025-08-25)**
3540
+
3541
+ - UI refactor and optimizations.
3542
+
3539
3543
  **2.6.21 (2025-08-24)**
3540
3544
 
3541
3545
  - Ollama models are now available in OpenAI Agents mode.
@@ -3550,146 +3554,6 @@ may consume additional tokens that are not displayed in the main window.
3550
3554
  - Added a new plugin: Server (FTP/SSH) - connect to remote servers using FTP, SFTP, and SSH. Execute remote commands, upload, download, and more (beta).
3551
3555
  - Added support for Wayland in Snap/compiled versions.
3552
3556
 
3553
- **2.6.19 (2025-08-22)**
3554
-
3555
- - Fixed: added prevention for summarizing an empty context.
3556
- - Improved the speed of context item refreshing.
3557
-
3558
- **2.6.18 (2025-08-21)**
3559
-
3560
- - Refactor and optimizations.
3561
- - Fix: Evolve agent stop event calling.
3562
-
3563
- **2.6.17 (2025-08-21)**
3564
-
3565
- - Optimized profile switching.
3566
- - Fixed: setting initial splitter size on first launch.
3567
- - Added smoother view reload.
3568
-
3569
- **2.6.16 (2025-08-20)**
3570
-
3571
- - Fixed: Attachment string joining.
3572
- - Improved expert function calls.
3573
- - Added sorting to the plugin list.
3574
-
3575
- **2.6.15 (2025-08-20)**
3576
-
3577
- - Added: do not change the context menu font size in text editing.
3578
- - Added: do not reload context items on tab change if already loaded.
3579
- - Fixed: appending of names and avatars in the stream chunk.
3580
-
3581
- **2.6.14 (2025-08-19)**
3582
-
3583
- - Fixed: Agent evaluation tool runs even if tools are disabled.
3584
- - Extended agent response evaluation by providing the full context of the output.
3585
-
3586
- **2.6.13 (2025-08-19)**
3587
-
3588
- - Fix: Do not load the index in experts if it is not provided.
3589
- - Fix: Load remote images in the webview.
3590
- - Fix: Presets list refresh.
3591
- - Optimize context items reload.
3592
-
3593
- **2.6.12 (2025-08-19)**
3594
-
3595
- - Optimized web renderer memory cleanup.
3596
-
3597
- **2.6.11 (2025-08-18)**
3598
-
3599
- - Added the ability to close the dialog window with the Esc key.
3600
- - Made context item deletion without output refresh.
3601
- - Optimizations.
3602
-
3603
- **2.6.10 (2025-08-17)**
3604
-
3605
- - Enhanced the handling of the context list.
3606
- - Integrated RAG into OpenAI Agents.
3607
- - Enhanced RAG management in Agents.
3608
- - Added an option: Config -> Agents -> General -> Auto-retrieve additional context from RAG.
3609
- - Included Google Docs, Maps, and Colab in the Google plugin.
3610
-
3611
- **2.6.9 (2025-08-17)**
3612
-
3613
- - Added two new agents for LlamaIndex and OpenAI: Supervisor and Worker (beta).
3614
-
3615
- **2.6.8 (2025-08-16)**
3616
-
3617
- - Fixed: updated paragraph color on theme switch.
3618
- - Added switching to duplicated preset after creation.
3619
- - Reduced delay after selecting context.
3620
- - Optimized rendering of mathematical formulas.
3621
-
3622
- **2.6.7 (2025-08-16)**
3623
-
3624
- - Fix: missing entity sanitize.
3625
-
3626
- **2.6.6 (2025-08-16)**
3627
-
3628
- - Output rendering optimization.
3629
-
3630
- **2.6.5 (2025-08-16)**
3631
-
3632
- - Fix: crash when creating a context in a new group.
3633
- - Fix: high CPU usage after switching profiles.
3634
-
3635
- **2.6.4 (2025-08-15)**
3636
-
3637
- - Fix: tool execution in OpenAI Agents.
3638
- - Optimizations.
3639
-
3640
- **2.6.3 (2025-08-15)**
3641
-
3642
- - Optimized streaming and CPU usage.
3643
- - Fixed crash on set label color and ctx duplicate.
3644
-
3645
- **2.6.2 (2025-08-15)**
3646
-
3647
- - Added plugins (beta): Google, Facebook, X/Twitter, Telegram, Slack, GitHub, Bitbucket.
3648
-
3649
- **2.6.1 (2025-08-14)**
3650
-
3651
- - LlamaIndex Agents refactored to Workflows.
3652
-
3653
- **2.6.0 (2025-08-13)**
3654
-
3655
- - Added split responses to the OpenAI Agents in non-streaming mode.
3656
- - Disabled auto-scroll when manually scrolled to the top.
3657
- - Increased scrollbar width in the light theme.
3658
- - Optimized the clearing of the streaming buffer.
3659
- - Optimized imports.
3660
- - Made CSS improvements.
3661
-
3662
- **2.5.98 (2025-08-12)**
3663
-
3664
- - Added support for GPT-5 in LlamaIndex/Chat with Files mode.
3665
- - Experts are now allowed in all OpenAI agent types.
3666
- - Improved the output of OpenAI agents (separated context items).
3667
- - Refactored memory cleanup for thread workers.
3668
- - Optimized streaming.
3669
-
3670
- **2.5.97 (2025-08-11)**
3671
-
3672
- - Fix: attribute error in prev ctx.
3673
-
3674
- **2.5.96 (2025-08-10)**
3675
-
3676
- - Fixed memory leaks.
3677
-
3678
- **2.5.95 (2025-08-09)**
3679
-
3680
- - Added user info personalization in Config -> Personalization, where you can provide information about yourself to the model.
3681
- - Added presets personalization with configurable AI names and avatars.
3682
- - Added a search field in the Translator tool.
3683
- - Fixed <> tags replacement in code blocks.
3684
-
3685
- **2.5.94 (2025-08-09)**
3686
-
3687
- - Added a new LLM provider: HuggingFace Router.
3688
- - Introduced a new model: gpt-oss (OpenAI open-source model available in HuggingFace and Ollama).
3689
- - Added a new agent mode in OpenAI Agents: Bot 2 Bot.
3690
- - Fixed: Storing the last used context ID when empty.
3691
- - Fixed: Reloading items when an agent run is stopped.
3692
-
3693
3557
  # Credits and links
3694
3558
 
3695
3559
  **Official website:** <https://pygpt.net>