pygpt-net 2.4.48__py3-none-any.whl → 2.4.49__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.
CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 2.4.49 (2025-01-16)
4
+
5
+ - Fix: stream render in Assistants mode.
6
+ - Fix: items remove in context regen/edit.
7
+
3
8
  ## 2.4.48 (2025-01-16)
4
9
 
5
10
  - Fix: parsing lists in data loaders configuration.
README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![pygpt](https://snapcraft.io/pygpt/badge.svg)](https://snapcraft.io/pygpt)
4
4
 
5
- Release: **2.4.48** | build: **2025.01.16** | Python: **>=3.10, <3.13**
5
+ Release: **2.4.49** | build: **2025.01.16** | Python: **>=3.10, <3.13**
6
6
 
7
7
  > Official website: https://pygpt.net | Documentation: https://pygpt.readthedocs.io
8
8
  >
@@ -3952,6 +3952,11 @@ may consume additional tokens that are not displayed in the main window.
3952
3952
 
3953
3953
  ## Recent changes:
3954
3954
 
3955
+ **2.4.49 (2025-01-16)**
3956
+
3957
+ - Fix: stream render in Assistants mode.
3958
+ - Fix: items remove in context regen/edit.
3959
+
3955
3960
  **2.4.48 (2025-01-16)**
3956
3961
 
3957
3962
  - Fix: parsing lists in data loaders configuration.
pygpt_net/CHANGELOG.txt CHANGED
@@ -1,3 +1,8 @@
1
+ 2.4.49 (2025-01-16)
2
+
3
+ - Fix: stream render in Assistants mode.
4
+ - Fix: items remove in context regen/edit.
5
+
1
6
  2.4.48 (2025-01-16)
2
7
 
3
8
  - Fix: parsing lists in data loaders configuration.
pygpt_net/__init__.py CHANGED
@@ -13,7 +13,7 @@ __author__ = "Marcin Szczygliński"
13
13
  __copyright__ = "Copyright 2025, Marcin Szczygliński"
14
14
  __credits__ = ["Marcin Szczygliński"]
15
15
  __license__ = "MIT"
16
- __version__ = "2.4.48"
16
+ __version__ = "2.4.49"
17
17
  __build__ = "2025.01.16"
18
18
  __maintainer__ = "Marcin Szczygliński"
19
19
  __github__ = "https://github.com/szczyglis-dev/py-gpt"
@@ -6,7 +6,7 @@
6
6
  # GitHub: https://github.com/szczyglis-dev/py-gpt #
7
7
  # MIT License #
8
8
  # Created By : Marcin Szczygliński #
9
- # Updated Date: 2024.12.14 08:00:00 #
9
+ # Updated Date: 2025.01.16 04:00:00 #
10
10
  # ================================================== #
11
11
 
12
12
  import json
@@ -442,6 +442,11 @@ class Threads(QObject):
442
442
  'msg': trans('assistant.run.completed'),
443
443
  })
444
444
  self.window.dispatch(event)
445
+ event = RenderEvent(RenderEvent.RELOAD, {
446
+ "meta": ctx.meta,
447
+ "ctx": ctx,
448
+ })
449
+ self.window.dispatch(event)
445
450
  self.window.controller.chat.common.show_response_tokens(ctx) # update tokens
446
451
 
447
452
  def handle_status_error(self, ctx: CtxItem):
@@ -856,6 +856,13 @@ class Ctx:
856
856
  :param meta_id: meta_id
857
857
  :param item_id: item_id
858
858
  """
859
+ items = self.get_items()
860
+ remove = False
861
+ for item in items:
862
+ if item.id == item_id:
863
+ remove = True
864
+ if remove:
865
+ items.remove(item)
859
866
  return self.provider.remove_items_from(meta_id, item_id)
860
867
 
861
868
  def truncate(self):
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "__meta__": {
3
- "version": "2.4.48",
4
- "app.version": "2.4.48",
3
+ "version": "2.4.49",
4
+ "app.version": "2.4.49",
5
5
  "updated_at": "2025-01-16T00:00:00"
6
6
  },
7
7
  "access.audio.event.speech": false,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "__meta__": {
3
- "version": "2.4.48",
4
- "app.version": "2.4.48",
3
+ "version": "2.4.49",
4
+ "app.version": "2.4.49",
5
5
  "updated_at": "2025-01-16T00:00:00"
6
6
  },
7
7
  "items": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "__meta__": {
3
- "version": "2.4.48",
4
- "app.version": "2.4.48",
3
+ "version": "2.4.49",
4
+ "app.version": "2.4.49",
5
5
  "updated_at": "2025-01-16T00:00:00"
6
6
  },
7
7
  "items": {
@@ -596,7 +596,7 @@ menu.info = Über
596
596
  menu.info.about = Über
597
597
  menu.info.changelog = Änderungsprotokoll
598
598
  menu.info.docs = Dokumentation
599
- menu.info.donate = Unterstützen PyGPT!
599
+ menu.info.donate = Unterstützen PyGPT
600
600
  menu.info.github = GitHub-Projektseite
601
601
  menu.info.license = Lizenz
602
602
  menu.info.pypi = PyPi
@@ -730,7 +730,7 @@ menu.info.about = About
730
730
  menu.info.changelog = Changelog
731
731
  menu.info.discord = Discord
732
732
  menu.info.docs = Documentation
733
- menu.info.donate = Donate PyGPT!
733
+ menu.info.donate = Donate PyGPT
734
734
  menu.info.github = GitHub
735
735
  menu.info.license = License
736
736
  menu.info.pypi = PyPi
@@ -595,7 +595,7 @@ menu.info = Acerca de
595
595
  menu.info.about = Acerca de
596
596
  menu.info.changelog = Registro de cambios
597
597
  menu.info.docs = Documentación
598
- menu.info.donate = Apoya PyGPT!
598
+ menu.info.donate = Apoya PyGPT
599
599
  menu.info.github = Página del proyecto en GitHub
600
600
  menu.info.license = Licencia
601
601
  menu.info.pypi = PyPi
@@ -596,7 +596,7 @@ menu.info = À propos
596
596
  menu.info.about = À propos
597
597
  menu.info.changelog = Historique des changements
598
598
  menu.info.docs = Documentation
599
- menu.info.donate = Soutenez PyGPT!
599
+ menu.info.donate = Soutenez PyGPT
600
600
  menu.info.github = Page du projet GitHub
601
601
  menu.info.license = Licence
602
602
  menu.info.pypi = PyPi
@@ -596,7 +596,7 @@ menu.info = Informazioni
596
596
  menu.info.about = Circa
597
597
  menu.info.changelog = Cronologia delle versioni
598
598
  menu.info.docs = Documentazione
599
- menu.info.donate = Supporta PyGPT!
599
+ menu.info.donate = Supporta PyGPT
600
600
  menu.info.github = Pagina del progetto su GitHub
601
601
  menu.info.license = Licenza
602
602
  menu.info.pypi = PyPi
@@ -596,11 +596,11 @@ menu.info = Informacje
596
596
  menu.info.about = O programie
597
597
  menu.info.changelog = Dziennik zmian
598
598
  menu.info.docs = Dokumentacja (EN)
599
- menu.info.donate = Wesprzyj PyGPT!
599
+ menu.info.donate = Wesprzyj PyGPT
600
600
  menu.info.github = Strona na GitHub-ie
601
601
  menu.info.license = Licencja
602
602
  menu.info.pypi = PyPi
603
- menu.info.report = Zgłoś błąd
603
+ menu.info.report = Zgłoś błąd
604
604
  menu.info.snap = Snap Store
605
605
  menu.info.updates = Sprawdź dostępność aktualizacji...
606
606
  menu.info.website = Strona projektu - pygpt.net
@@ -595,7 +595,7 @@ menu.info = Про програму
595
595
  menu.info.about = Про програму
596
596
  menu.info.changelog = Список змін
597
597
  menu.info.docs = Документація
598
- menu.info.donate = Підтримайте PyGPT!
598
+ menu.info.donate = Підтримайте PyGPT
599
599
  menu.info.github = GitHub проект
600
600
  menu.info.license = Ліцензія
601
601
  menu.info.pypi = PyPi
@@ -671,7 +671,7 @@ menu.info = 關於
671
671
  menu.info.about = 關於
672
672
  menu.info.changelog = 更新日誌
673
673
  menu.info.docs = 文檔
674
- menu.info.donate = 支持 PyGPT!
674
+ menu.info.donate = 支持 PyGPT
675
675
  menu.info.github = GitHub項目頁面
676
676
  menu.info.license = 授權許可證
677
677
  menu.info.pypi = PyPi
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pygpt-net
3
- Version: 2.4.48
3
+ Version: 2.4.49
4
4
  Summary: 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.
5
5
  Home-page: https://pygpt.net
6
6
  License: MIT
@@ -93,7 +93,7 @@ Description-Content-Type: text/markdown
93
93
 
94
94
  [![pygpt](https://snapcraft.io/pygpt/badge.svg)](https://snapcraft.io/pygpt)
95
95
 
96
- Release: **2.4.48** | build: **2025.01.16** | Python: **>=3.10, <3.13**
96
+ Release: **2.4.49** | build: **2025.01.16** | Python: **>=3.10, <3.13**
97
97
 
98
98
  > Official website: https://pygpt.net | Documentation: https://pygpt.readthedocs.io
99
99
  >
@@ -4043,6 +4043,11 @@ may consume additional tokens that are not displayed in the main window.
4043
4043
 
4044
4044
  ## Recent changes:
4045
4045
 
4046
+ **2.4.49 (2025-01-16)**
4047
+
4048
+ - Fix: stream render in Assistants mode.
4049
+ - Fix: items remove in context regen/edit.
4050
+
4046
4051
  **2.4.48 (2025-01-16)**
4047
4052
 
4048
4053
  - Fix: parsing lists in data loaders configuration.
@@ -1,9 +1,9 @@
1
- CHANGELOG.md,sha256=Q32c_xrQWzbMe4iOxMUmNB2tbGb839iZ9Ohgg2c_4cY,80830
2
- README.md,sha256=6AgKyNWXQwSawfwI6P6G7iz1WuvO4P13nKzhnJD_Z9A,164736
1
+ CHANGELOG.md,sha256=gFRfBiL4PYqprFVvaUlx9AqT5AVpmhVjPK-YRLxle40,80939
2
+ README.md,sha256=qkwiNaUhyZKE-g0wWxYUyd946edChMkH9Y-mPDOajG4,164846
3
3
  icon.png,sha256=CzcINJaU23a9hNjsDlDNbyuiEvKZ4Wg6DQVYF6SpuRg,13970
4
- pygpt_net/CHANGELOG.txt,sha256=I-2NBvS0Vm3aFynyH1CCmouq2r1E6qByPw_oYuo7aRk,79350
4
+ pygpt_net/CHANGELOG.txt,sha256=-X0u1bg5Oq4rebB68yD00Movnr0rEPiC8aItUVHpn68,79456
5
5
  pygpt_net/LICENSE,sha256=dz9sfFgYahvu2NZbx4C1xCsVn9GVer2wXcMkFRBvqzY,1146
6
- pygpt_net/__init__.py,sha256=qP5WgSniST83j9ecswNEF_Npm47w48fRoa3QoIZ15zM,1307
6
+ pygpt_net/__init__.py,sha256=izcO_wLOAUU_jEhc6pCud7V2w6ywEptBfnZqqSstZnU,1307
7
7
  pygpt_net/app.py,sha256=i02M96uLngAs_XZCS1Mi84vb3Okx8ZZewbTdhCqFolM,16029
8
8
  pygpt_net/config.py,sha256=Qc1FOBtTf3O6A6-6KoqUGtoJ0u8hXQeowvCVbZFwtik,16405
9
9
  pygpt_net/container.py,sha256=BemiVZPpPNIzfB-ZvnZeeBPFu-AcX2c30OqYFylEjJc,4023
@@ -21,7 +21,7 @@ pygpt_net/controller/assistant/batch.py,sha256=yVa6G1xwBv7-knt7nRxsOuV8uFlVYy28Y
21
21
  pygpt_net/controller/assistant/editor.py,sha256=yzGPzatwUBsEew3H75rNJWL0AdJRmiaFtP-jERQ3GRI,15271
22
22
  pygpt_net/controller/assistant/files.py,sha256=0TmDcDyXpmDc7BsCFZaF6Oj-H4Yr4CxOgkusbBjtC5k,14777
23
23
  pygpt_net/controller/assistant/store.py,sha256=t0h5EeJ9d-Cc_KzV6gQ3kZneoIeECp4iVHxvpJhjP-Q,15771
24
- pygpt_net/controller/assistant/threads.py,sha256=wo1m5G2vWF5e3hU6380CHSdSlsCQRXs7hbsCEeL0fNk,20907
24
+ pygpt_net/controller/assistant/threads.py,sha256=IUAGvm1qYNXiu6AUOix6T6c3QJsdqHVgCZPHTvtcuJ0,21058
25
25
  pygpt_net/controller/attachment.py,sha256=to7QK1PwvvkW6gBUxXFIm0R_wh9HrgW8raZf9dJgVmo,20397
26
26
  pygpt_net/controller/audio/__init__.py,sha256=ubQL5uBucuXCEqf2wKHI9uelB-wvrD5kK8cK2wvlLik,10382
27
27
  pygpt_net/controller/calendar/__init__.py,sha256=s55RkCFQPFzdDoQ2zp3kohlNdpiWxdSxQtsaROeiigw,4424
@@ -136,7 +136,7 @@ pygpt_net/core/chain/__init__.py,sha256=C7Xm88bRblcyM4e0wZMFG-6SQCdw_frXN9kqnWzc
136
136
  pygpt_net/core/chain/chat.py,sha256=5LxPWHkocjrIAAwrdDH1ss6knAnh4_owfbHPsOQYSws,5238
137
137
  pygpt_net/core/chain/completion.py,sha256=GGRA-q6sQgPnSibiwHBwk7jgT0MgOkka1_jK2-IiBPg,5698
138
138
  pygpt_net/core/command.py,sha256=B0rmRSF4F6AkIcCUIQIkxj2JryeczWmabsGxRMLKeeE,22058
139
- pygpt_net/core/ctx/__init__.py,sha256=H9VUnCPkgjGYRy72IjTrAEzq4dHhsSvkg2E71TjnGXY,43105
139
+ pygpt_net/core/ctx/__init__.py,sha256=5W5ZPYE5rkbBRRdL7mT9MFvnWZKjib0cMBiC-9HFl28,43311
140
140
  pygpt_net/core/ctx/bag.py,sha256=-LRhttDRiQkw1Msl3kbGQYaY9w8zqn1o0miNRdqjHtQ,1286
141
141
  pygpt_net/core/ctx/container.py,sha256=tdPHPRfTi8yGY1MZGgFtYtx2lvc5K9OTqhjde16wivY,4232
142
142
  pygpt_net/core/ctx/idx.py,sha256=3Zi-48OWlU80si-Z7mVjnsc7TYATXK9g1dM0M5sXsV4,8167
@@ -246,9 +246,9 @@ pygpt_net/css_rc.py,sha256=i13kX7irhbYCWZ5yJbcMmnkFp_UfS4PYnvRFSPF7XXo,11349
246
246
  pygpt_net/data/audio/click_off.mp3,sha256=aNiRDP1pt-Jy7ija4YKCNFBwvGWbzU460F4pZWZDS90,65201
247
247
  pygpt_net/data/audio/click_on.mp3,sha256=qfdsSnthAEHVXzeyN4LlC0OvXuyW8p7stb7VXtlvZ1k,65201
248
248
  pygpt_net/data/audio/ok.mp3,sha256=LTiV32pEBkpUGBkKkcOdOFB7Eyt_QoP2Nv6c5AaXftk,32256
249
- pygpt_net/data/config/config.json,sha256=js6kRA9xXfyllh7BoMOKrQ14bMw8Up23RQct8JhU7JI,19735
250
- pygpt_net/data/config/models.json,sha256=QllJxkXgBhtmxrkKPse4HZAt43J4czXsGCsN3kuA-ks,61940
251
- pygpt_net/data/config/modes.json,sha256=JywYn92A5WSZ0kP0vmhk4DYDBwOeHsiAecE29rqWCqc,1923
249
+ pygpt_net/data/config/config.json,sha256=5HkaHlyhOoefxyM5HL1Oj_IhnC8PCFcaJ7dc6FPLOxc,19735
250
+ pygpt_net/data/config/models.json,sha256=lrki8Hq-HafH_Nr-ijmoCtrFCmgll_hKdnlshsg5ag0,61940
251
+ pygpt_net/data/config/modes.json,sha256=wxKhY9HJBjkj0lEtkwnod7aaz_iJmWY4eEyCVxY_5RU,1923
252
252
  pygpt_net/data/config/presets/agent_openai.json,sha256=vMTR-soRBiEZrpJJHuFLWyx8a3Ez_BqtqjyXgxCAM_Q,733
253
253
  pygpt_net/data/config/presets/agent_openai_assistant.json,sha256=awJw9lNTGpKML6SJUShVn7lv8AXh0oic7wBeyoN7AYs,798
254
254
  pygpt_net/data/config/presets/agent_planner.json,sha256=a6Rv58Bnm2STNWB0Rw_dGhnsz6Lb3J8_GwsUVZaTIXc,742
@@ -1484,14 +1484,14 @@ pygpt_net/data/js/katex/fonts/KaTeX_Typewriter-Regular.woff,sha256=4U_tArGrp86fW
1484
1484
  pygpt_net/data/js/katex/fonts/KaTeX_Typewriter-Regular.woff2,sha256=cdUX1ngneHz6vfGGkUzDNY7aU543kxlB8rL9SiH2jAs,13568
1485
1485
  pygpt_net/data/js/katex/katex.min.css,sha256=lVaKnUaQNG4pI71WHffQZVALLQF4LMZEk4nOia8U9ow,23532
1486
1486
  pygpt_net/data/js/katex/katex.min.js,sha256=KLASOtKS2x8pUxWVzCDmlWJ4jhuLb0vtrgakbD6gDDo,276757
1487
- pygpt_net/data/locale/locale.de.ini,sha256=jkxTWNFHFQu329CgNkkhQ0zz-3wbXePBUa-AQseIsLg,63589
1488
- pygpt_net/data/locale/locale.en.ini,sha256=iLwarJe3OBy_AjH9WmpaM_qiw9okNnPp-ayMqYVtjJg,76145
1489
- pygpt_net/data/locale/locale.es.ini,sha256=TsyX0BBxjgl9ApK8j5bPPBE3sGcw8jbnkmy6mZgWWys,63822
1490
- pygpt_net/data/locale/locale.fr.ini,sha256=NTwNYLrOj6FiynJExkYhdOiw88-UzPRS2oFkIHUnKhs,65854
1491
- pygpt_net/data/locale/locale.it.ini,sha256=GYCFSYsLlxCEqqdNNARYIlRsHxcY55lVRAXMSxFLURo,62605
1492
- pygpt_net/data/locale/locale.pl.ini,sha256=l_mVzIrt7DzQHK5AQDKeoHGFOlLzqEGMQi8wfwflRi4,62688
1493
- pygpt_net/data/locale/locale.uk.ini,sha256=ovQGBrW7YJf4Z7mc3UfWkf6kIZXE9lkWuUURars6-II,87234
1494
- pygpt_net/data/locale/locale.zh.ini,sha256=iK_wHSga3aueYZKZRPUYzmxOyMvJjUoFu8pEftre1tY,64418
1487
+ pygpt_net/data/locale/locale.de.ini,sha256=pQoz_qzInY4RA0Bt1FB7yPlhaoNLaGN1cIIPTr7TnvA,63588
1488
+ pygpt_net/data/locale/locale.en.ini,sha256=v967jvOT3s4RpcLlIMjdDOmgCuCn1DzCPyQyguo7mZU,76144
1489
+ pygpt_net/data/locale/locale.es.ini,sha256=zTeCXB2F13FtZI07RnElmfeJJwd35JVGJG9C5WSE7WI,63821
1490
+ pygpt_net/data/locale/locale.fr.ini,sha256=aYYT3xBiJbUKX4OPcZVvNBG_W3_pHeIUaVbLMk9RPqs,65853
1491
+ pygpt_net/data/locale/locale.it.ini,sha256=QB-mPBNHK3iDYKOutst6p3MzpTiSE-7FDWO4RVhU3Z8,62604
1492
+ pygpt_net/data/locale/locale.pl.ini,sha256=-en8RBnnn_ZU0x8Qxy-mKskjyPnZpQNiDeBtH5eW1D8,62688
1493
+ pygpt_net/data/locale/locale.uk.ini,sha256=1P4vdZbK4bB1dL2xOj-lCp0vmHWeP9pFNCFCYZKERVk,87233
1494
+ pygpt_net/data/locale/locale.zh.ini,sha256=IaBf41RuD0iV2q3G97V4NL_v5_BbARpLxHER-H1X86c,64417
1495
1495
  pygpt_net/data/locale/plugin.agent.de.ini,sha256=BY28KpfFvgfVYJzcw2o5ScWnR4uuErIYGyc3NVHlmTw,1714
1496
1496
  pygpt_net/data/locale/plugin.agent.en.ini,sha256=88LkZUpilbV9l4QDbMyIdq_K9sbWt-CQPpavEttPjJU,1489
1497
1497
  pygpt_net/data/locale/plugin.agent.es.ini,sha256=bqaJQne8HPKFVtZ8Ukzo1TSqVW41yhYbGUqW3j2x1p8,1680
@@ -2174,8 +2174,8 @@ pygpt_net/ui/widget/textarea/web.py,sha256=9FoL02QY6mOxtc4t4fe8X7fVDIdPn9Sb_fwsv
2174
2174
  pygpt_net/ui/widget/vision/__init__.py,sha256=8HT4tQFqQogEEpGYTv2RplKBthlsFKcl5egnv4lzzEw,488
2175
2175
  pygpt_net/ui/widget/vision/camera.py,sha256=T8b5cmK6uhf_WSSxzPt_Qod8JgMnst6q8sQqRvgQiSA,2584
2176
2176
  pygpt_net/utils.py,sha256=Gsh_mITVke3bb8o-Ke57l__xA5a9Wv4t7tlsnSQULj8,6655
2177
- pygpt_net-2.4.48.dist-info/LICENSE,sha256=GLKQTnJOPK4dDIWfkAIM4GwOxKJXi5zcMGt7FjLR1xk,1126
2178
- pygpt_net-2.4.48.dist-info/METADATA,sha256=DnhATXzJleMtziz8NT2V7Y3H9igPrwoP_2LQYgmcv8U,169615
2179
- pygpt_net-2.4.48.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
2180
- pygpt_net-2.4.48.dist-info/entry_points.txt,sha256=qvpII6UHIt8XfokmQWnCYQrTgty8FeJ9hJvOuUFCN-8,43
2181
- pygpt_net-2.4.48.dist-info/RECORD,,
2177
+ pygpt_net-2.4.49.dist-info/LICENSE,sha256=GLKQTnJOPK4dDIWfkAIM4GwOxKJXi5zcMGt7FjLR1xk,1126
2178
+ pygpt_net-2.4.49.dist-info/METADATA,sha256=j-CVH60IOvIiJj9FCjbFCeZBjm6stvp23QrJ7oZR85Q,169725
2179
+ pygpt_net-2.4.49.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
2180
+ pygpt_net-2.4.49.dist-info/entry_points.txt,sha256=qvpII6UHIt8XfokmQWnCYQrTgty8FeJ9hJvOuUFCN-8,43
2181
+ pygpt_net-2.4.49.dist-info/RECORD,,