pygpt-net 2.6.44__py3-none-any.whl → 2.6.46__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.
- pygpt_net/CHANGELOG.txt +12 -0
- pygpt_net/__init__.py +3 -3
- pygpt_net/app.py +0 -5
- pygpt_net/controller/ctx/ctx.py +6 -0
- pygpt_net/controller/debug/debug.py +11 -9
- pygpt_net/controller/debug/fixtures.py +1 -1
- pygpt_net/controller/dialogs/debug.py +40 -29
- pygpt_net/core/debug/agent.py +19 -14
- pygpt_net/core/debug/assistants.py +22 -24
- pygpt_net/core/debug/attachments.py +11 -7
- pygpt_net/core/debug/config.py +22 -23
- pygpt_net/core/debug/console/console.py +2 -1
- pygpt_net/core/debug/context.py +63 -63
- pygpt_net/core/debug/db.py +1 -4
- pygpt_net/core/debug/debug.py +1 -1
- pygpt_net/core/debug/events.py +14 -11
- pygpt_net/core/debug/indexes.py +41 -76
- pygpt_net/core/debug/kernel.py +11 -8
- pygpt_net/core/debug/models.py +20 -15
- pygpt_net/core/debug/plugins.py +9 -6
- pygpt_net/core/debug/presets.py +16 -11
- pygpt_net/core/debug/tabs.py +28 -22
- pygpt_net/core/debug/ui.py +25 -22
- pygpt_net/core/fixtures/stream/generator.py +1 -2
- pygpt_net/core/render/web/body.py +290 -23
- pygpt_net/core/render/web/helpers.py +26 -0
- pygpt_net/core/render/web/renderer.py +459 -705
- pygpt_net/core/tabs/tab.py +14 -1
- pygpt_net/data/config/config.json +3 -3
- pygpt_net/data/config/models.json +3 -3
- pygpt_net/data/config/settings.json +15 -17
- pygpt_net/data/css/style.dark.css +6 -0
- pygpt_net/data/css/web-blocks.css +4 -0
- pygpt_net/data/css/web-blocks.light.css +1 -1
- pygpt_net/data/css/web-chatgpt.css +4 -0
- pygpt_net/data/css/web-chatgpt.light.css +1 -1
- pygpt_net/data/css/web-chatgpt_wide.css +4 -0
- pygpt_net/data/css/web-chatgpt_wide.light.css +1 -1
- pygpt_net/data/fixtures/fake_stream.txt +5733 -0
- pygpt_net/data/js/app.js +1921 -901
- pygpt_net/data/locale/locale.de.ini +1 -1
- pygpt_net/data/locale/locale.en.ini +5 -5
- pygpt_net/data/locale/locale.es.ini +1 -1
- pygpt_net/data/locale/locale.fr.ini +1 -1
- pygpt_net/data/locale/locale.it.ini +1 -1
- pygpt_net/data/locale/locale.pl.ini +2 -2
- pygpt_net/data/locale/locale.uk.ini +1 -1
- pygpt_net/data/locale/locale.zh.ini +1 -1
- pygpt_net/item/model.py +4 -1
- pygpt_net/js_rc.py +13076 -10198
- pygpt_net/provider/api/anthropic/__init__.py +3 -1
- pygpt_net/provider/api/anthropic/tools.py +1 -1
- pygpt_net/provider/api/google/__init__.py +7 -1
- pygpt_net/provider/api/x_ai/__init__.py +5 -1
- pygpt_net/provider/core/config/patch.py +14 -1
- pygpt_net/provider/llms/anthropic.py +37 -5
- pygpt_net/provider/llms/azure_openai.py +3 -1
- pygpt_net/provider/llms/base.py +13 -1
- pygpt_net/provider/llms/deepseek_api.py +13 -3
- pygpt_net/provider/llms/google.py +14 -1
- pygpt_net/provider/llms/hugging_face_api.py +105 -24
- pygpt_net/provider/llms/hugging_face_embedding.py +88 -0
- pygpt_net/provider/llms/hugging_face_router.py +28 -16
- pygpt_net/provider/llms/local.py +2 -0
- pygpt_net/provider/llms/mistral.py +60 -3
- pygpt_net/provider/llms/open_router.py +4 -2
- pygpt_net/provider/llms/openai.py +4 -1
- pygpt_net/provider/llms/perplexity.py +66 -5
- pygpt_net/provider/llms/utils.py +39 -0
- pygpt_net/provider/llms/voyage.py +50 -0
- pygpt_net/provider/llms/x_ai.py +70 -10
- pygpt_net/ui/layout/chat/output.py +1 -1
- pygpt_net/ui/widget/lists/db.py +1 -0
- pygpt_net/ui/widget/lists/debug.py +1 -0
- pygpt_net/ui/widget/tabs/body.py +12 -1
- pygpt_net/ui/widget/textarea/web.py +4 -4
- pygpt_net/utils.py +3 -2
- {pygpt_net-2.6.44.dist-info → pygpt_net-2.6.46.dist-info}/METADATA +73 -16
- {pygpt_net-2.6.44.dist-info → pygpt_net-2.6.46.dist-info}/RECORD +82 -78
- {pygpt_net-2.6.44.dist-info → pygpt_net-2.6.46.dist-info}/LICENSE +0 -0
- {pygpt_net-2.6.44.dist-info → pygpt_net-2.6.46.dist-info}/WHEEL +0 -0
- {pygpt_net-2.6.44.dist-info → pygpt_net-2.6.46.dist-info}/entry_points.txt +0 -0
pygpt_net/core/tabs/tab.py
CHANGED
|
@@ -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: 2025.09.
|
|
9
|
+
# Updated Date: 2025.09.14 20:00:00 #
|
|
10
10
|
# ================================================== #
|
|
11
11
|
|
|
12
12
|
from datetime import datetime
|
|
@@ -140,6 +140,19 @@ class Tab:
|
|
|
140
140
|
ref.deleteLater()
|
|
141
141
|
del self.refs[:]
|
|
142
142
|
|
|
143
|
+
def delete_ref(self, widget: Any) -> None:
|
|
144
|
+
"""
|
|
145
|
+
Unpin reference to widget in this tab
|
|
146
|
+
|
|
147
|
+
:param widget: widget reference
|
|
148
|
+
"""
|
|
149
|
+
for ref in self.refs:
|
|
150
|
+
if ref and ref is widget:
|
|
151
|
+
self.refs.remove(ref)
|
|
152
|
+
break
|
|
153
|
+
if self.child and hasattr(self.child, 'delete_ref'):
|
|
154
|
+
self.child.delete_ref(widget)
|
|
155
|
+
|
|
143
156
|
def to_dict(self) -> Dict[str, Any]:
|
|
144
157
|
"""
|
|
145
158
|
Convert to dict
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"__meta__": {
|
|
3
|
-
"version": "2.6.
|
|
4
|
-
"app.version": "2.6.
|
|
5
|
-
"updated_at": "2025-09-
|
|
3
|
+
"version": "2.6.46",
|
|
4
|
+
"app.version": "2.6.46",
|
|
5
|
+
"updated_at": "2025-09-15T00:00:00"
|
|
6
6
|
},
|
|
7
7
|
"access.audio.event.speech": false,
|
|
8
8
|
"access.audio.event.speech.disabled": [],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"__meta__": {
|
|
3
|
-
"version": "2.6.
|
|
4
|
-
"app.version": "2.6.
|
|
5
|
-
"updated_at": "2025-09-
|
|
3
|
+
"version": "2.6.46",
|
|
4
|
+
"app.version": "2.6.46",
|
|
5
|
+
"updated_at": "2025-09-15T08:03:34"
|
|
6
6
|
},
|
|
7
7
|
"items": {
|
|
8
8
|
"SpeakLeash/bielik-11b-v2.3-instruct:Q4_K_M": {
|
|
@@ -53,22 +53,7 @@
|
|
|
53
53
|
"secret": false,
|
|
54
54
|
"advanced": false,
|
|
55
55
|
"tab": "OpenAI"
|
|
56
|
-
},
|
|
57
|
-
"api_proxy": {
|
|
58
|
-
"section": "api_keys",
|
|
59
|
-
"type": "text",
|
|
60
|
-
"slider": false,
|
|
61
|
-
"label": "settings.api_proxy",
|
|
62
|
-
"description": "settings.api_proxy.desc",
|
|
63
|
-
"value": "",
|
|
64
|
-
"min": null,
|
|
65
|
-
"max": null,
|
|
66
|
-
"multiplier": null,
|
|
67
|
-
"step": null,
|
|
68
|
-
"secret": false,
|
|
69
|
-
"advanced": false,
|
|
70
|
-
"tab": "OpenAI"
|
|
71
|
-
},
|
|
56
|
+
},
|
|
72
57
|
"api_use_responses": {
|
|
73
58
|
"section": "api_keys",
|
|
74
59
|
"type": "bool",
|
|
@@ -593,7 +578,20 @@
|
|
|
593
578
|
"multiplier": 1,
|
|
594
579
|
"step": 1,
|
|
595
580
|
"advanced": false
|
|
596
|
-
},
|
|
581
|
+
},
|
|
582
|
+
"api_proxy": {
|
|
583
|
+
"section": "general",
|
|
584
|
+
"type": "text",
|
|
585
|
+
"slider": false,
|
|
586
|
+
"label": "settings.api_proxy",
|
|
587
|
+
"description": "settings.api_proxy.desc",
|
|
588
|
+
"value": "",
|
|
589
|
+
"min": null,
|
|
590
|
+
"max": null,
|
|
591
|
+
"multiplier": null,
|
|
592
|
+
"step": null,
|
|
593
|
+
"secret": false
|
|
594
|
+
},
|
|
597
595
|
"theme.style": {
|
|
598
596
|
"section": "layout",
|
|
599
597
|
"type": "combo",
|
|
@@ -133,4 +133,10 @@ QCalendarWidget QAbstractItemView::item:hover {{
|
|
|
133
133
|
}}
|
|
134
134
|
.file-explorer QTreeView::branch {{
|
|
135
135
|
background: #262a2e;
|
|
136
|
+
}}
|
|
137
|
+
|
|
138
|
+
.DebugList::item:selected,
|
|
139
|
+
.DebugList::item:selected:focus {{
|
|
140
|
+
color: #000;
|
|
141
|
+
selection-color: #000000;
|
|
136
142
|
}}
|