pygpt-net 2.6.64__py3-none-any.whl → 2.6.66__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 +21 -0
- pygpt_net/__init__.py +3 -3
- pygpt_net/app.py +5 -1
- pygpt_net/controller/chat/chat.py +0 -0
- pygpt_net/controller/chat/handler/openai_stream.py +137 -7
- pygpt_net/controller/chat/render.py +0 -0
- pygpt_net/controller/config/field/checkbox_list.py +34 -1
- pygpt_net/controller/files/files.py +71 -2
- pygpt_net/controller/media/media.py +20 -1
- pygpt_net/controller/presets/editor.py +137 -22
- pygpt_net/controller/presets/presets.py +4 -1
- pygpt_net/controller/ui/mode.py +14 -10
- pygpt_net/controller/ui/ui.py +18 -1
- pygpt_net/core/agents/custom/__init__.py +18 -2
- pygpt_net/core/agents/custom/runner.py +2 -2
- pygpt_net/core/attachments/clipboard.py +146 -0
- pygpt_net/core/image/image.py +34 -1
- pygpt_net/core/render/web/renderer.py +33 -11
- pygpt_net/core/tabs/tabs.py +0 -0
- pygpt_net/core/types/image.py +61 -3
- pygpt_net/data/config/config.json +4 -3
- pygpt_net/data/config/models.json +629 -41
- pygpt_net/data/css/style.dark.css +12 -0
- pygpt_net/data/css/style.light.css +12 -0
- pygpt_net/data/icons/pin2.svg +1 -0
- pygpt_net/data/icons/pin3.svg +3 -0
- pygpt_net/data/icons/point.svg +1 -0
- pygpt_net/data/icons/target.svg +1 -0
- pygpt_net/data/js/app/ui.js +19 -2
- pygpt_net/data/js/app/user.js +22 -54
- pygpt_net/data/js/app.min.js +7 -9
- pygpt_net/data/locale/locale.de.ini +4 -0
- pygpt_net/data/locale/locale.en.ini +8 -0
- pygpt_net/data/locale/locale.es.ini +4 -0
- pygpt_net/data/locale/locale.fr.ini +4 -0
- pygpt_net/data/locale/locale.it.ini +4 -0
- pygpt_net/data/locale/locale.pl.ini +4 -0
- pygpt_net/data/locale/locale.uk.ini +4 -0
- pygpt_net/data/locale/locale.zh.ini +4 -0
- pygpt_net/icons.qrc +4 -0
- pygpt_net/icons_rc.py +274 -137
- pygpt_net/item/model.py +15 -19
- pygpt_net/js_rc.py +2038 -2075
- pygpt_net/provider/agents/openai/agent.py +0 -0
- pygpt_net/provider/api/google/__init__.py +20 -9
- pygpt_net/provider/api/google/image.py +161 -28
- pygpt_net/provider/api/google/video.py +73 -36
- pygpt_net/provider/api/openai/__init__.py +21 -11
- pygpt_net/provider/api/openai/agents/client.py +0 -0
- pygpt_net/provider/api/openai/video.py +562 -0
- pygpt_net/provider/core/config/patch.py +15 -0
- pygpt_net/provider/core/model/patch.py +29 -3
- pygpt_net/provider/vector_stores/qdrant.py +117 -0
- pygpt_net/ui/__init__.py +6 -1
- pygpt_net/ui/dialog/preset.py +9 -4
- pygpt_net/ui/layout/chat/attachments.py +18 -1
- pygpt_net/ui/layout/status.py +3 -3
- pygpt_net/ui/layout/toolbox/raw.py +7 -1
- pygpt_net/ui/widget/element/status.py +55 -0
- pygpt_net/ui/widget/filesystem/explorer.py +116 -2
- pygpt_net/ui/widget/lists/context.py +26 -16
- pygpt_net/ui/widget/option/checkbox_list.py +14 -2
- pygpt_net/ui/widget/textarea/input.py +71 -17
- {pygpt_net-2.6.64.dist-info → pygpt_net-2.6.66.dist-info}/METADATA +76 -25
- {pygpt_net-2.6.64.dist-info → pygpt_net-2.6.66.dist-info}/RECORD +63 -55
- {pygpt_net-2.6.64.dist-info → pygpt_net-2.6.66.dist-info}/LICENSE +0 -0
- {pygpt_net-2.6.64.dist-info → pygpt_net-2.6.66.dist-info}/WHEEL +0 -0
- {pygpt_net-2.6.64.dist-info → pygpt_net-2.6.66.dist-info}/entry_points.txt +0 -0
pygpt_net/icons_rc.py
CHANGED
|
@@ -476,6 +476,29 @@ l=\x22#686868\x22 d=\x22M\
|
|
|
476
476
|
7 93t-93 227q0 1\
|
|
477
477
|
34 93 227t227 93\
|
|
478
478
|
Z\x22/></svg>\
|
|
479
|
+
\x00\x00\x01B\
|
|
480
|
+
<\
|
|
481
|
+
svg xmlns=\x22http:\
|
|
482
|
+
//www.w3.org/200\
|
|
483
|
+
0/svg\x22 height=\x222\
|
|
484
|
+
4px\x22 viewBox=\x220 \
|
|
485
|
+
-960 960 960\x22 wi\
|
|
486
|
+
dth=\x2224px\x22 fill=\
|
|
487
|
+
\x22#686868\x22><path \
|
|
488
|
+
d=\x22M480-400q-33 \
|
|
489
|
+
0-56.5-23.5T400-\
|
|
490
|
+
480q0-33 23.5-56\
|
|
491
|
+
.5T480-560q33 0 \
|
|
492
|
+
56.5 23.5T560-48\
|
|
493
|
+
0q0 33-23.5 56.5\
|
|
494
|
+
T480-400Zm-40-24\
|
|
495
|
+
0v-200h80v200h-8\
|
|
496
|
+
0Zm0 520v-200h80\
|
|
497
|
+
v200h-80Zm200-32\
|
|
498
|
+
0v-80h200v80H640\
|
|
499
|
+
Zm-520 0v-80h200\
|
|
500
|
+
v80H120Z\x22/></svg\
|
|
501
|
+
>\
|
|
479
502
|
\x00\x00\x00\xb0\
|
|
480
503
|
<\
|
|
481
504
|
svg xmlns=\x22http:\
|
|
@@ -1507,6 +1530,25 @@ l-56-56 202-202q\
|
|
|
1507
1530
|
2 201Zm468-72h14\
|
|
1508
1531
|
4l-72-204-72 204\
|
|
1509
1532
|
Z\x22/></svg>\
|
|
1533
|
+
\x00\x00\x01\x02\
|
|
1534
|
+
<\
|
|
1535
|
+
svg xmlns=\x22http:\
|
|
1536
|
+
//www.w3.org/200\
|
|
1537
|
+
0/svg\x22 height=\x222\
|
|
1538
|
+
4px\x22 viewBox=\x220 \
|
|
1539
|
+
-960 960 960\x22 wi\
|
|
1540
|
+
dth=\x2224px\x22 fill=\
|
|
1541
|
+
\x22#686868\x22><path \
|
|
1542
|
+
d=\x22m640-480 80 8\
|
|
1543
|
+
0v80H520v240l-40\
|
|
1544
|
+
40-40-40v-240H2\
|
|
1545
|
+
40v-80l80-80v-28\
|
|
1546
|
+
0h-40v-80h400v80\
|
|
1547
|
+
h-40v280Zm-286 8\
|
|
1548
|
+
0h252l-46-46v-31\
|
|
1549
|
+
4H400v314l-46 46\
|
|
1550
|
+
Zm126 0Z\x22/></svg\
|
|
1551
|
+
>\
|
|
1510
1552
|
\x00\x00\x01\x5c\
|
|
1511
1553
|
<\
|
|
1512
1554
|
svg xmlns=\x22http:\
|
|
@@ -2209,6 +2251,51 @@ l=\x22#686868\x22 d=\x22M\
|
|
|
2209
2251
|
400q0 33-23.5 56\
|
|
2210
2252
|
.5T800-160H160Z\x22\
|
|
2211
2253
|
/></svg>\
|
|
2254
|
+
\x00\x00\x02\xa4\
|
|
2255
|
+
<\
|
|
2256
|
+
svg xmlns=\x22http:\
|
|
2257
|
+
//www.w3.org/200\
|
|
2258
|
+
0/svg\x22 height=\x222\
|
|
2259
|
+
4px\x22 viewBox=\x220 \
|
|
2260
|
+
-960 960 960\x22 wi\
|
|
2261
|
+
dth=\x2224px\x22 fill=\
|
|
2262
|
+
\x22#686868\x22><path \
|
|
2263
|
+
d=\x22M480-80q-83 0\
|
|
2264
|
+
-156-31.5T197-19\
|
|
2265
|
+
7q-54-54-85.5-12\
|
|
2266
|
+
7T80-480q0-83 31\
|
|
2267
|
+
.5-156T197-763q5\
|
|
2268
|
+
4-54 127-85.5T48\
|
|
2269
|
+
0-880q83 0 156 3\
|
|
2270
|
+
1.5T763-763q54 5\
|
|
2271
|
+
4 85.5 127T880-4\
|
|
2272
|
+
80q0 83-31.5 156\
|
|
2273
|
+
T763-197q-54 54-\
|
|
2274
|
+
127 85.5T480-80Z\
|
|
2275
|
+
m0-80q134 0 227-\
|
|
2276
|
+
93t93-227q0-134-\
|
|
2277
|
+
93-227t-227-93q-\
|
|
2278
|
+
134 0-227 93t-93\
|
|
2279
|
+
227q0 134 93 22\
|
|
2280
|
+
7t227 93Zm0-80q-\
|
|
2281
|
+
100 0-170-70t-70\
|
|
2282
|
+
-170q0-100 70-17\
|
|
2283
|
+
0t170-70q100 0 1\
|
|
2284
|
+
70 70t70 170q0 1\
|
|
2285
|
+
00-70 170t-170 7\
|
|
2286
|
+
0Zm0-80q66 0 113\
|
|
2287
|
+
-47t47-113q0-66-\
|
|
2288
|
+
47-113t-113-47q-\
|
|
2289
|
+
66 0-113 47t-47 \
|
|
2290
|
+
113q0 66 47 113t\
|
|
2291
|
+
113 47Zm0-80q-33\
|
|
2292
|
+
0-56.5-23.5T400\
|
|
2293
|
+
-480q0-33 23.5-5\
|
|
2294
|
+
6.5T480-560q33 0\
|
|
2295
|
+
56.5 23.5T560-4\
|
|
2296
|
+
80q0 33-23.5 56.\
|
|
2297
|
+
5T480-400Z\x22/></s\
|
|
2298
|
+
vg>\
|
|
2212
2299
|
\x00\x00\x02\x15\
|
|
2213
2300
|
<\
|
|
2214
2301
|
svg xmlns=\x22http:\
|
|
@@ -3563,6 +3650,36 @@ l=\x22#686868\x22 d=\x22M\
|
|
|
3563
3650
|
180Zm400 0 136-9\
|
|
3564
3651
|
0-136-90v180Z\x22/>\
|
|
3565
3652
|
</svg>\
|
|
3653
|
+
\x00\x00\x01\xb4\
|
|
3654
|
+
<\
|
|
3655
|
+
svg width=\x2224px\x22\
|
|
3656
|
+
height=\x2224px\x22 f\
|
|
3657
|
+
ill=\x22#686868\x22 ve\
|
|
3658
|
+
rsion=\x221.1\x22 view\
|
|
3659
|
+
Box=\x220 -960 960 \
|
|
3660
|
+
960\x22 xmlns=\x22http\
|
|
3661
|
+
://www.w3.org/20\
|
|
3662
|
+
00/svg\x22>\x0a <path \
|
|
3663
|
+
d=\x22m621.42-355.1\
|
|
3664
|
+
5v113.14l-56.569\
|
|
3665
|
+
56.569-141.42-1\
|
|
3666
|
+
41.42-169.71 169\
|
|
3667
|
+
.71h-56.569v-56.\
|
|
3668
|
+
569l169.71-169.7\
|
|
3669
|
+
1-141.42-141.42 \
|
|
3670
|
+
56.569-56.569h11\
|
|
3671
|
+
3.14l197.99-197.\
|
|
3672
|
+
99-28.284-28.284\
|
|
3673
|
+
56.569-56.569 2\
|
|
3674
|
+
82.84 282.84-56.\
|
|
3675
|
+
569 56.569-28.28\
|
|
3676
|
+
4-28.284zm-258.8\
|
|
3677
|
+
-145.66 178.19 1\
|
|
3678
|
+
78.19v-65.054l22\
|
|
3679
|
+
2.03-222.03-113.\
|
|
3680
|
+
14-113.14-222.03\
|
|
3681
|
+
222.03z\x22/>\x0a</sv\
|
|
3682
|
+
g>\x0a\
|
|
3566
3683
|
\x00\x00\x00\xb9\
|
|
3567
3684
|
<\
|
|
3568
3685
|
svg xmlns=\x22http:\
|
|
@@ -4239,6 +4356,10 @@ qt_resource_name = b"\
|
|
|
4239
4356
|
\x05\x9e\x8e\xa7\
|
|
4240
4357
|
\x00c\
|
|
4241
4358
|
\x00l\x00o\x00c\x00k\x00.\x00s\x00v\x00g\
|
|
4359
|
+
\x00\x09\
|
|
4360
|
+
\x00W\xb4\x07\
|
|
4361
|
+
\x00p\
|
|
4362
|
+
\x00o\x00i\x00n\x00t\x00.\x00s\x00v\x00g\
|
|
4242
4363
|
\x00\x0f\
|
|
4243
4364
|
\x05\xdd\x7f'\
|
|
4244
4365
|
\x00h\
|
|
@@ -4401,6 +4522,10 @@ qt_resource_name = b"\
|
|
|
4401
4522
|
\x0f\xb8\xefg\
|
|
4402
4523
|
\x00t\
|
|
4403
4524
|
\x00r\x00a\x00n\x00s\x00l\x00a\x00t\x00e\x00.\x00s\x00v\x00g\
|
|
4525
|
+
\x00\x08\
|
|
4526
|
+
\x00\x15T'\
|
|
4527
|
+
\x00p\
|
|
4528
|
+
\x00i\x00n\x002\x00.\x00s\x00v\x00g\
|
|
4404
4529
|
\x00\x0e\
|
|
4405
4530
|
\x0f\x8e\xefg\
|
|
4406
4531
|
\x00a\
|
|
@@ -4498,6 +4623,10 @@ qt_resource_name = b"\
|
|
|
4498
4623
|
\x00f\
|
|
4499
4624
|
\x00o\x00l\x00d\x00e\x00r\x00_\x00f\x00i\x00l\x00l\x00e\x00d\x00.\x00s\x00v\x00g\
|
|
4500
4625
|
\
|
|
4626
|
+
\x00\x0a\
|
|
4627
|
+
\x0d\xc8\x0b\xc7\
|
|
4628
|
+
\x00t\
|
|
4629
|
+
\x00a\x00r\x00g\x00e\x00t\x00.\x00s\x00v\x00g\
|
|
4501
4630
|
\x00\x0b\
|
|
4502
4631
|
\x0c\xd7\x8d\xa7\
|
|
4503
4632
|
\x00s\
|
|
@@ -4695,6 +4824,10 @@ qt_resource_name = b"\
|
|
|
4695
4824
|
\x00d\
|
|
4696
4825
|
\x00o\x00n\x00e\x00.\x00s\x00v\x00g\
|
|
4697
4826
|
\x00\x08\
|
|
4827
|
+
\x00\x16T'\
|
|
4828
|
+
\x00p\
|
|
4829
|
+
\x00i\x00n\x003\x00.\x00s\x00v\x00g\
|
|
4830
|
+
\x00\x08\
|
|
4698
4831
|
\x07\x9eW\xc7\
|
|
4699
4832
|
\x00b\
|
|
4700
4833
|
\x00a\x00c\x00k\x00.\x00s\x00v\x00g\
|
|
@@ -4792,161 +4925,165 @@ qt_resource_name = b"\
|
|
|
4792
4925
|
|
|
4793
4926
|
qt_resource_struct = b"\
|
|
4794
4927
|
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\
|
|
4795
|
-
\x00\x00\x00\x00\x00\x02\x00\x00\x00\
|
|
4796
|
-
\x00\x00\
|
|
4797
|
-
\x00\x00\
|
|
4798
|
-
\x00\x00\
|
|
4799
|
-
\x00\x00\
|
|
4800
|
-
\x00\x00\
|
|
4801
|
-
\x00\x00\
|
|
4802
|
-
\x00\x00\
|
|
4928
|
+
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x9e\x00\x00\x00\x02\
|
|
4929
|
+
\x00\x00\x062\x00\x00\x00\x00\x00\x01\x00\x00W\x0c\
|
|
4930
|
+
\x00\x00\x0d\xf2\x00\x00\x00\x00\x00\x01\x00\x00\xd1\xa3\
|
|
4931
|
+
\x00\x00\x0eJ\x00\x00\x00\x00\x00\x01\x00\x00\xd5\xc3\
|
|
4932
|
+
\x00\x00\x10t\x00\x00\x00\x00\x00\x01\x00\x00\xf4\x19\
|
|
4933
|
+
\x00\x00\x01\xf6\x00\x00\x00\x00\x00\x01\x00\x00\x1a\xc1\
|
|
4934
|
+
\x00\x00\x0c`\x00\x00\x00\x00\x00\x01\x00\x00\xb8=\
|
|
4935
|
+
\x00\x00\x0c\xc0\x00\x00\x00\x00\x00\x01\x00\x00\xbf\x0f\
|
|
4936
|
+
\x00\x00\x07\xc8\x00\x00\x00\x00\x00\x01\x00\x00n\xb3\
|
|
4937
|
+
\x00\x00\x03r\x00\x00\x00\x00\x00\x01\x00\x000\xa6\
|
|
4938
|
+
\x00\x00\x03\x88\x00\x00\x00\x00\x00\x01\x00\x002\x95\
|
|
4803
4939
|
\x00\x00\x00V\x00\x00\x00\x00\x00\x01\x00\x00\x04\xc3\
|
|
4804
|
-
\x00\x00\x0a\
|
|
4805
|
-
\x00\x00\x09\
|
|
4806
|
-
\x00\x00\x09\
|
|
4807
|
-
\x00\x00\
|
|
4808
|
-
\x00\x00\
|
|
4809
|
-
\x00\x00\
|
|
4810
|
-
\x00\x00\
|
|
4811
|
-
\x00\x00\
|
|
4812
|
-
\x00\x00\x02\
|
|
4813
|
-
\x00\x00\
|
|
4814
|
-
\x00\x00\
|
|
4815
|
-
\x00\x00\
|
|
4940
|
+
\x00\x00\x0a\xd2\x00\x00\x00\x00\x00\x01\x00\x00\x9f\xdc\
|
|
4941
|
+
\x00\x00\x09\xf8\x00\x00\x00\x00\x00\x01\x00\x00\x93\x99\
|
|
4942
|
+
\x00\x00\x09\xde\x00\x00\x00\x00\x00\x01\x00\x00\x92\x05\
|
|
4943
|
+
\x00\x00\x09B\x00\x00\x00\x00\x00\x01\x00\x00\x86\xde\
|
|
4944
|
+
\x00\x00\x0a&\x00\x00\x00\x00\x00\x01\x00\x00\x98\x02\
|
|
4945
|
+
\x00\x00\x07\xa8\x00\x00\x00\x00\x00\x01\x00\x00m\xa6\
|
|
4946
|
+
\x00\x00\x09\x92\x00\x00\x00\x00\x00\x01\x00\x00\x8a\x8d\
|
|
4947
|
+
\x00\x00\x08B\x00\x00\x00\x00\x00\x01\x00\x00w\xdf\
|
|
4948
|
+
\x00\x00\x02\xea\x00\x00\x00\x00\x00\x01\x00\x00(\xb9\
|
|
4949
|
+
\x00\x00\x0e\xb0\x00\x00\x00\x00\x00\x01\x00\x00\xdc\xed\
|
|
4950
|
+
\x00\x00\x0c4\x00\x00\x00\x00\x00\x01\x00\x00\xb5-\
|
|
4951
|
+
\x00\x00\x02z\x00\x00\x00\x00\x00\x01\x00\x00 \xa7\
|
|
4816
4952
|
\x00\x00\x00@\x00\x00\x00\x00\x00\x01\x00\x00\x03\xa5\
|
|
4817
|
-
\x00\x00\
|
|
4953
|
+
\x00\x00\x05\x08\x00\x00\x00\x00\x00\x01\x00\x00H\x07\
|
|
4818
4954
|
\x00\x00\x01z\x00\x00\x00\x00\x00\x01\x00\x00\x12\x82\
|
|
4819
|
-
\x00\x00\
|
|
4820
|
-
\x00\x00\
|
|
4955
|
+
\x00\x00\x08l\x00\x00\x00\x00\x00\x01\x00\x00{Z\
|
|
4956
|
+
\x00\x00\x07\x16\x00\x00\x00\x00\x00\x01\x00\x00e\xa8\
|
|
4821
4957
|
\x00\x00\x00\xac\x00\x00\x00\x00\x00\x01\x00\x00\x08\xf3\
|
|
4822
|
-
\x00\x00\
|
|
4823
|
-
\x00\x00\
|
|
4824
|
-
\x00\x00\
|
|
4825
|
-
\x00\x00\x03\
|
|
4958
|
+
\x00\x00\x06\x88\x00\x00\x00\x00\x00\x01\x00\x00]\x15\
|
|
4959
|
+
\x00\x00\x08\x9e\x00\x00\x00\x00\x00\x01\x00\x00~\x88\
|
|
4960
|
+
\x00\x00\x09X\x00\x00\x00\x00\x00\x01\x00\x00\x87\x9c\
|
|
4961
|
+
\x00\x00\x03\xa4\x00\x00\x00\x00\x00\x01\x00\x003\xcf\
|
|
4826
4962
|
\x00\x00\x01\xde\x00\x00\x00\x00\x00\x01\x00\x00\x19\x22\
|
|
4827
|
-
\x00\x00\
|
|
4828
|
-
\x00\x00\x02\
|
|
4829
|
-
\x00\x00\
|
|
4830
|
-
\x00\x00\x0b\
|
|
4963
|
+
\x00\x00\x0cx\x00\x00\x00\x00\x00\x01\x00\x00\xba\x1f\
|
|
4964
|
+
\x00\x00\x02\xb6\x00\x00\x00\x00\x00\x01\x00\x00$\x05\
|
|
4965
|
+
\x00\x00\x02\x0e\x00\x00\x00\x00\x00\x01\x00\x00\x1c\x07\
|
|
4966
|
+
\x00\x00\x0b\xcc\x00\x00\x00\x00\x00\x01\x00\x00\xb1\x07\
|
|
4831
4967
|
\x00\x00\x00\x10\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
|
|
4832
|
-
\x00\x00\x0d\
|
|
4833
|
-
\x00\x00\
|
|
4834
|
-
\x00\x00\
|
|
4835
|
-
\x00\x00\
|
|
4836
|
-
\x00\x00\
|
|
4837
|
-
\x00\x00\
|
|
4838
|
-
\x00\x00\
|
|
4839
|
-
\x00\x00\x05\
|
|
4840
|
-
\x00\x00\
|
|
4841
|
-
\x00\x00\x0c\
|
|
4842
|
-
\x00\x00\
|
|
4843
|
-
\x00\x00\
|
|
4844
|
-
\x00\x00\x0e\
|
|
4845
|
-
\x00\x00\
|
|
4846
|
-
\x00\x00\x05\
|
|
4847
|
-
\x00\x00\
|
|
4968
|
+
\x00\x00\x0d\xdc\x00\x00\x00\x00\x00\x01\x00\x00d\xf6\
|
|
4969
|
+
\x00\x00\x0d\x80\x00\x00\x00\x00\x00\x01\x00\x00\xccP\
|
|
4970
|
+
\x00\x00\x0a\x0c\x00\x00\x00\x00\x00\x01\x00\x00\x95\xba\
|
|
4971
|
+
\x00\x00\x02L\x00\x00\x00\x00\x00\x01\x00\x00\x1d\xeb\
|
|
4972
|
+
\x00\x00\x0d\x22\x00\x00\x00\x00\x00\x01\x00\x00\xc5\xa6\
|
|
4973
|
+
\x00\x00\x03X\x00\x00\x00\x00\x00\x01\x00\x00.\xf3\
|
|
4974
|
+
\x00\x00\x0e\xd2\x00\x00\x00\x00\x00\x01\x00\x00\xdd\xea\
|
|
4975
|
+
\x00\x00\x05\xc8\x00\x00\x00\x00\x00\x01\x00\x00R6\
|
|
4976
|
+
\x00\x00\x09\xb0\x00\x00\x00\x00\x00\x01\x00\x00\x8b\xda\
|
|
4977
|
+
\x00\x00\x0c\xf0\x00\x00\x00\x00\x00\x01\x00\x00\xc2\x5c\
|
|
4978
|
+
\x00\x00\x10\x06\x00\x00\x00\x00\x00\x01\x00\x00\xef#\
|
|
4979
|
+
\x00\x00\x108\x00\x00\x00\x00\x00\x01\x00\x00\xf1z\
|
|
4980
|
+
\x00\x00\x0e\xe8\x00\x00\x00\x00\x00\x01\x00\x00\xde\xab\
|
|
4981
|
+
\x00\x00\x0e\x1e\x00\x00\x00\x00\x00\x01\x00\x00\xd4\x18\
|
|
4982
|
+
\x00\x00\x05\xfe\x00\x00\x00\x00\x00\x01\x00\x00S\xd0\
|
|
4983
|
+
\x00\x00\x08$\x00\x00\x00\x00\x00\x01\x00\x00v\x06\
|
|
4848
4984
|
\x00\x00\x01Z\x00\x00\x00\x00\x00\x01\x00\x00\x10\xf3\
|
|
4849
|
-
\x00\x00\
|
|
4850
|
-
\x00\x00\
|
|
4851
|
-
\x00\x00\
|
|
4852
|
-
\x00\x00\
|
|
4853
|
-
\x00\x00\x03\
|
|
4854
|
-
\x00\x00\
|
|
4855
|
-
\x00\x00\
|
|
4856
|
-
\x00\x00\
|
|
4857
|
-
\x00\x00\
|
|
4858
|
-
\x00\x00\x06\
|
|
4859
|
-
\x00\x00\
|
|
4860
|
-
\x00\x00\x07\
|
|
4861
|
-
\x00\x00\x0b\
|
|
4862
|
-
\x00\x00\
|
|
4863
|
-
\x00\x00\
|
|
4864
|
-
\x00\x00\
|
|
4865
|
-
\x00\x00\
|
|
4866
|
-
\x00\x00\x0f\
|
|
4985
|
+
\x00\x00\x0b8\x00\x00\x00\x00\x00\x01\x00\x00\xa4?\
|
|
4986
|
+
\x00\x00\x0c\xac\x00\x00\x00\x00\x00\x01\x00\x00\xbc\xf1\
|
|
4987
|
+
\x00\x00\x0b\x1a\x00\x00\x00\x00\x00\x01\x00\x00\xa3\x11\
|
|
4988
|
+
\x00\x00\x0e\x08\x00\x00\x00\x00\x00\x01\x00\x00\xd3[\
|
|
4989
|
+
\x00\x00\x03\xe8\x00\x00\x00\x00\x00\x01\x00\x007w\
|
|
4990
|
+
\x00\x00\x06\xa2\x00\x00\x00\x00\x00\x01\x00\x00^b\
|
|
4991
|
+
\x00\x00\x06j\x00\x00\x00\x00\x00\x01\x00\x00Yr\
|
|
4992
|
+
\x00\x00\x0dh\x00\x00\x00\x00\x00\x01\x00\x00\xca\xfb\
|
|
4993
|
+
\x00\x00\x05|\x00\x00\x00\x00\x00\x01\x00\x00NF\
|
|
4994
|
+
\x00\x00\x06\xe6\x00\x00\x00\x00\x00\x01\x00\x00c\xaf\
|
|
4995
|
+
\x00\x00\x07d\x00\x00\x00\x00\x00\x01\x00\x00k\x96\
|
|
4996
|
+
\x00\x00\x07\x8a\x00\x00\x00\x00\x00\x01\x00\x00l\x90\
|
|
4997
|
+
\x00\x00\x0b\xf8\x00\x00\x00\x00\x00\x01\x00\x00\xb2\xca\
|
|
4998
|
+
\x00\x00\x0b|\x00\x00\x00\x00\x00\x01\x00\x00\xad\x8c\
|
|
4999
|
+
\x00\x00\x0ab\x00\x00\x00\x00\x00\x01\x00\x00\x9a\x90\
|
|
5000
|
+
\x00\x00\x02b\x00\x00\x00\x00\x00\x01\x00\x00\x1f?\
|
|
5001
|
+
\x00\x00\x0cH\x00\x00\x00\x00\x00\x01\x00\x00\xb6\xf0\
|
|
5002
|
+
\x00\x00\x0f\xee\x00\x00\x00\x00\x00\x01\x00\x00\xed\xf4\
|
|
4867
5003
|
\x00\x00\x00\x96\x00\x00\x00\x00\x00\x01\x00\x00\x07\xac\
|
|
4868
|
-
\x00\x00\
|
|
4869
|
-
\x00\x00\
|
|
4870
|
-
\x00\x00\
|
|
4871
|
-
\x00\x00\x04\
|
|
4872
|
-
\x00\x00\x02\
|
|
4873
|
-
\x00\x00\
|
|
4874
|
-
\x00\x00\x04\
|
|
4875
|
-
\x00\x00\
|
|
4876
|
-
\x00\x00\
|
|
4877
|
-
\x00\x00\x03\
|
|
4878
|
-
\x00\x00\
|
|
4879
|
-
\x00\x00\
|
|
4880
|
-
\x00\x00\
|
|
4881
|
-
\x00\x00\x02\
|
|
4882
|
-
\x00\x00\
|
|
4883
|
-
\x00\x00\
|
|
4884
|
-
\x00\x00\x03
|
|
4885
|
-
\x00\x00\
|
|
4886
|
-
\x00\x00\x05
|
|
4887
|
-
\x00\x00\
|
|
4888
|
-
\x00\x00\
|
|
4889
|
-
\x00\x00\
|
|
4890
|
-
\x00\x00\
|
|
5004
|
+
\x00\x00\x0bN\x00\x00\x00\x00\x00\x01\x00\x00\xa8F\
|
|
5005
|
+
\x00\x00\x0f<\x00\x00\x00\x00\x00\x01\x00\x00\xe3z\
|
|
5006
|
+
\x00\x00\x0fT\x00\x00\x00\x00\x00\x01\x00\x00\xe5\xac\
|
|
5007
|
+
\x00\x00\x04\xdc\x00\x00\x00\x00\x00\x01\x00\x00D\xb8\
|
|
5008
|
+
\x00\x00\x03\x02\x00\x00\x00\x00\x00\x01\x00\x00*\x9c\
|
|
5009
|
+
\x00\x00\x0d\x9c\x00\x00\x00\x00\x00\x01\x00\x00\xce\xe8\
|
|
5010
|
+
\x00\x00\x04\xb0\x00\x00\x00\x00\x00\x01\x00\x00B\xd9\
|
|
5011
|
+
\x00\x00\x08\x88\x00\x00\x00\x00\x00\x01\x00\x00}\x04\
|
|
5012
|
+
\x00\x00\x0c\x96\x00\x00\x00\x00\x00\x01\x00\x00\xbb\x22\
|
|
5013
|
+
\x00\x00\x03\xd2\x00\x00\x00\x00\x00\x01\x00\x006k\
|
|
5014
|
+
\x00\x00\x09\x16\x00\x00\x00\x00\x00\x01\x00\x00\x83E\
|
|
5015
|
+
\x00\x00\x07L\x00\x00\x00\x00\x00\x01\x00\x00i+\
|
|
5016
|
+
\x00\x00\x022\x00\x00\x00\x00\x00\x01\x00\x00\x1c\xbb\
|
|
5017
|
+
\x00\x00\x02\xcc\x00\x00\x00\x00\x00\x01\x00\x00$\xe9\
|
|
5018
|
+
\x00\x00\x04t\x00\x00\x00\x00\x00\x01\x00\x00@\x93\
|
|
5019
|
+
\x00\x00\x05D\x00\x00\x00\x00\x00\x01\x00\x00L6\
|
|
5020
|
+
\x00\x00\x03>\x00\x00\x00\x00\x00\x01\x00\x00-\xbd\
|
|
5021
|
+
\x00\x00\x072\x00\x00\x00\x00\x00\x01\x00\x00g\x91\
|
|
5022
|
+
\x00\x00\x05\x94\x00\x00\x00\x00\x00\x01\x00\x00Oe\
|
|
5023
|
+
\x00\x00\x0f\xcc\x00\x00\x00\x00\x00\x01\x00\x00\xecd\
|
|
5024
|
+
\x00\x00\x0d\x0e\x00\x00\x00\x00\x00\x01\x00\x00\xc4e\
|
|
5025
|
+
\x00\x00\x0f\xb4\x00\x00\x00\x00\x00\x01\x00\x00\xea\xd2\
|
|
5026
|
+
\x00\x00\x0f\x0c\x00\x00\x00\x00\x00\x01\x00\x00\xe0_\
|
|
4891
5027
|
\x00\x00\x01\xb0\x00\x00\x00\x00\x00\x01\x00\x00\x16\x8e\
|
|
4892
|
-
\x00\x00\
|
|
4893
|
-
\x00\x00\x05\
|
|
4894
|
-
\x00\x00\x06\
|
|
4895
|
-
\x00\x00\x02\
|
|
4896
|
-
\x00\x00\
|
|
4897
|
-
\x00\x00\
|
|
4898
|
-
\x00\x00\
|
|
4899
|
-
\x00\x00\x07\
|
|
4900
|
-
\x00\x00\x05\
|
|
5028
|
+
\x00\x00\x04\x00\x00\x00\x00\x00\x00\x01\x00\x008\xfd\
|
|
5029
|
+
\x00\x00\x05\xb0\x00\x00\x00\x00\x00\x01\x00\x00P\xf1\
|
|
5030
|
+
\x00\x00\x06\xce\x00\x00\x00\x00\x00\x01\x00\x00a\xfc\
|
|
5031
|
+
\x00\x00\x02\xa2\x00\x00\x00\x00\x00\x01\x00\x00\x22\x13\
|
|
5032
|
+
\x00\x00\x04H\x00\x00\x00\x00\x00\x01\x00\x00<\x9e\
|
|
5033
|
+
\x00\x00\x04`\x00\x00\x00\x00\x00\x01\x00\x00=\xf5\
|
|
5034
|
+
\x00\x00\x0dN\x00\x00\x00\x00\x00\x01\x00\x00\xc9\xce\
|
|
5035
|
+
\x00\x00\x07\xe4\x00\x00\x00\x00\x00\x01\x00\x00q\x11\
|
|
5036
|
+
\x00\x00\x05\xe0\x00\x00\x00\x00\x00\x01\x00\x00S\x14\
|
|
4901
5037
|
\x00\x00\x00\xe0\x00\x00\x00\x00\x00\x01\x00\x00\x0c\x14\
|
|
4902
|
-
\x00\x00\x08\
|
|
5038
|
+
\x00\x00\x08\xb8\x00\x00\x00\x00\x00\x01\x00\x00\x7f\xa0\
|
|
4903
5039
|
\x00\x00\x00p\x00\x00\x00\x00\x00\x01\x00\x00\x06X\
|
|
4904
|
-
\x00\x00\
|
|
4905
|
-
\x00\x00\
|
|
4906
|
-
\x00\x00\x03\
|
|
4907
|
-
\x00\x00\x04
|
|
4908
|
-
\x00\x00\x04
|
|
4909
|
-
\x00\x00\
|
|
5040
|
+
\x00\x00\x0fn\x00\x00\x00\x00\x00\x01\x00\x00\xe7$\
|
|
5041
|
+
\x00\x00\x09\xc2\x00\x00\x00\x00\x00\x01\x00\x00\x8e\xb3\
|
|
5042
|
+
\x00\x00\x03\xbc\x00\x00\x00\x00\x00\x01\x00\x005\xab\
|
|
5043
|
+
\x00\x00\x04.\x00\x00\x00\x00\x00\x01\x00\x00;J\
|
|
5044
|
+
\x00\x00\x04\x96\x00\x00\x00\x00\x00\x01\x00\x00A\x5c\
|
|
5045
|
+
\x00\x00\x0az\x00\x00\x00\x00\x00\x01\x00\x00\x9b\xa4\
|
|
4910
5046
|
\x00\x00\x00\xf6\x00\x00\x00\x00\x00\x01\x00\x00\x0d]\
|
|
4911
5047
|
\x00\x00\x01\x10\x00\x00\x00\x00\x00\x01\x00\x00\x0ee\
|
|
4912
|
-
\x00\x00\x06\
|
|
4913
|
-
\x00\x00\
|
|
4914
|
-
\x00\x00\x0c\
|
|
5048
|
+
\x00\x00\x06\xfe\x00\x00\x00\x00\x00\x01\x00\x00d\xf6\
|
|
5049
|
+
\x00\x00\x05d\x00\x00\x00\x00\x00\x01\x00\x00L\xfd\
|
|
5050
|
+
\x00\x00\x0c\xda\x00\x00\x00\x00\x00\x01\x00\x00\xc1=\
|
|
4915
5051
|
\x00\x00\x00,\x00\x00\x00\x00\x00\x01\x00\x00\x01\xbc\
|
|
4916
|
-
\x00\x00\x05
|
|
4917
|
-
\x00\x00\
|
|
4918
|
-
\x00\x00\x04\
|
|
4919
|
-
\x00\x00\
|
|
4920
|
-
\x00\x00\
|
|
4921
|
-
\x00\x00\x0f
|
|
5052
|
+
\x00\x00\x05&\x00\x00\x00\x00\x00\x01\x00\x00I3\
|
|
5053
|
+
\x00\x00\x0d\xb6\x00\x00\x00\x00\x00\x01\x00\x00\xd0\xa8\
|
|
5054
|
+
\x00\x00\x04\x18\x00\x00\x00\x00\x00\x01\x00\x00:\x84\
|
|
5055
|
+
\x00\x00\x0d8\x00\x00\x00\x00\x00\x01\x00\x00\xc7\x17\
|
|
5056
|
+
\x00\x00\x0a\x92\x00\x00\x00\x00\x00\x01\x00\x00\x9cg\
|
|
5057
|
+
\x00\x00\x0f\x8c\x00\x00\x00\x00\x00\x01\x00\x00\xe8x\
|
|
4922
5058
|
\x00\x00\x01\xc8\x00\x00\x00\x00\x00\x01\x00\x00\x17\xea\
|
|
4923
|
-
\x00\x00\
|
|
4924
|
-
\x00\x00\x0a\
|
|
4925
|
-
\x00\x00\
|
|
4926
|
-
\x00\x00\
|
|
5059
|
+
\x00\x00\x0b\xb6\x00\x00\x00\x00\x00\x01\x00\x00\xb0F\
|
|
5060
|
+
\x00\x00\x0a\xf6\x00\x00\x00\x00\x00\x01\x00\x00\xa1\x86\
|
|
5061
|
+
\x00\x00\x09.\x00\x00\x00\x00\x00\x01\x00\x00\x85^\
|
|
5062
|
+
\x00\x00\x0f\x22\x00\x00\x00\x00\x00\x01\x00\x00\xe1\x86\
|
|
4927
5063
|
\x00\x00\x00\xc8\x00\x00\x00\x00\x00\x01\x00\x00\x0b\x16\
|
|
4928
|
-
\x00\x00\x0e
|
|
4929
|
-
\x00\x00\
|
|
4930
|
-
\x00\x00\
|
|
5064
|
+
\x00\x00\x0e\x84\x00\x00\x00\x00\x00\x01\x00\x00\xd9\xa5\
|
|
5065
|
+
\x00\x00\x08V\x00\x00\x00\x00\x00\x01\x00\x00yk\
|
|
5066
|
+
\x00\x00\x0aH\x00\x00\x00\x00\x00\x01\x00\x00\x99}\
|
|
4931
5067
|
\x00\x00\x01\x90\x00\x00\x00\x00\x00\x01\x00\x00\x14\x99\
|
|
4932
|
-
\x00\x00\x08\
|
|
4933
|
-
\x00\x00\x0b\
|
|
4934
|
-
\x00\x00\x0e
|
|
4935
|
-
\x00\x00\
|
|
4936
|
-
\x00\x00\
|
|
4937
|
-
\x00\x00\x07\
|
|
4938
|
-
\x00\x00\
|
|
4939
|
-
\x00\x00\
|
|
4940
|
-
\x00\x00\
|
|
4941
|
-
\x00\x00\
|
|
4942
|
-
\x00\x00\
|
|
4943
|
-
\x00\x00\
|
|
4944
|
-
\x00\x00\
|
|
4945
|
-
\x00\x00\
|
|
5068
|
+
\x00\x00\x08\xfa\x00\x00\x00\x00\x00\x01\x00\x00v\x06\
|
|
5069
|
+
\x00\x00\x0b\xe2\x00\x00\x00\x00\x00\x01\x00\x00\xb1\xfa\
|
|
5070
|
+
\x00\x00\x0e\x9c\x00\x00\x00\x00\x00\x01\x00\x00\xdbP\
|
|
5071
|
+
\x00\x00\x09n\x00\x00\x00\x00\x00\x01\x00\x00\x89\x8f\
|
|
5072
|
+
\x00\x00\x0b\x98\x00\x00\x00\x00\x00\x01\x00\x00\xaeJ\
|
|
5073
|
+
\x00\x00\x07\xfe\x00\x00\x00\x00\x00\x01\x00\x00t<\
|
|
5074
|
+
\x00\x00\x0a\xac\x00\x00\x00\x00\x00\x01\x00\x00\x9d\xe1\
|
|
5075
|
+
\x00\x00\x10V\x00\x00\x00\x00\x00\x01\x00\x00\xf3\x0a\
|
|
5076
|
+
\x00\x00\x10 \x00\x00\x00\x00\x00\x01\x00\x00\xf08\
|
|
5077
|
+
\x00\x00\x08\xe0\x00\x00\x00\x00\x00\x01\x00\x00\x80\x9d\
|
|
5078
|
+
\x00\x00\x03\x18\x00\x00\x00\x00\x00\x01\x00\x00+\xee\
|
|
5079
|
+
\x00\x00\x04\xf2\x00\x00\x00\x00\x00\x01\x00\x00F\xb3\
|
|
5080
|
+
\x00\x00\x0c\x12\x00\x00\x00\x00\x00\x01\x00\x00\xb3|\
|
|
5081
|
+
\x00\x00\x0eb\x00\x00\x00\x00\x00\x01\x00\x00\xd7\xd2\
|
|
5082
|
+
\x00\x00\x06H\x00\x00\x00\x00\x00\x01\x00\x00X\x12\
|
|
4946
5083
|
\x00\x00\x01<\x00\x00\x00\x00\x00\x01\x00\x00\x0f\xdd\
|
|
4947
|
-
\x00\x00\x06\
|
|
4948
|
-
\x00\x00\
|
|
4949
|
-
\x00\x00\
|
|
5084
|
+
\x00\x00\x06\xb6\x00\x00\x00\x00\x00\x01\x00\x00_\x18\
|
|
5085
|
+
\x00\x00\x06\x12\x00\x00\x00\x00\x00\x01\x00\x00U\x8d\
|
|
5086
|
+
\x00\x00\x0bf\x00\x00\x00\x00\x00\x01\x00\x00\xabb\
|
|
4950
5087
|
"
|
|
4951
5088
|
|
|
4952
5089
|
def qInitResources():
|
pygpt_net/item/model.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.
|
|
9
|
+
# Updated Date: 2025.12.25 20:00:00 #
|
|
10
10
|
# ================================================== #
|
|
11
11
|
|
|
12
12
|
import json
|
|
@@ -274,9 +274,7 @@ class ModelItem:
|
|
|
274
274
|
|
|
275
275
|
:return: True if supports image input
|
|
276
276
|
"""
|
|
277
|
-
|
|
278
|
-
return True
|
|
279
|
-
return False
|
|
277
|
+
return MULTIMODAL_IMAGE in self.input
|
|
280
278
|
|
|
281
279
|
def is_image_output(self) -> bool:
|
|
282
280
|
"""
|
|
@@ -284,9 +282,7 @@ class ModelItem:
|
|
|
284
282
|
|
|
285
283
|
:return: True if supports image output
|
|
286
284
|
"""
|
|
287
|
-
|
|
288
|
-
return True
|
|
289
|
-
return False
|
|
285
|
+
return "image" in self.output or MODE_VISION in self.mode
|
|
290
286
|
|
|
291
287
|
def is_audio_input(self) -> bool:
|
|
292
288
|
"""
|
|
@@ -294,9 +290,7 @@ class ModelItem:
|
|
|
294
290
|
|
|
295
291
|
:return: True if supports audio input
|
|
296
292
|
"""
|
|
297
|
-
|
|
298
|
-
return True
|
|
299
|
-
return False
|
|
293
|
+
return MULTIMODAL_AUDIO in self.input
|
|
300
294
|
|
|
301
295
|
def is_audio_output(self) -> bool:
|
|
302
296
|
"""
|
|
@@ -304,9 +298,7 @@ class ModelItem:
|
|
|
304
298
|
|
|
305
299
|
:return: True if supports audio output
|
|
306
300
|
"""
|
|
307
|
-
|
|
308
|
-
return True
|
|
309
|
-
return False
|
|
301
|
+
return MULTIMODAL_AUDIO in self.output
|
|
310
302
|
|
|
311
303
|
def is_video_input(self) -> bool:
|
|
312
304
|
"""
|
|
@@ -314,9 +306,7 @@ class ModelItem:
|
|
|
314
306
|
|
|
315
307
|
:return: True if supports video input
|
|
316
308
|
"""
|
|
317
|
-
|
|
318
|
-
return True
|
|
319
|
-
return False
|
|
309
|
+
return MULTIMODAL_VIDEO in self.input
|
|
320
310
|
|
|
321
311
|
def is_video_output(self) -> bool:
|
|
322
312
|
"""
|
|
@@ -324,9 +314,15 @@ class ModelItem:
|
|
|
324
314
|
|
|
325
315
|
:return: True if supports video output
|
|
326
316
|
"""
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
317
|
+
return MULTIMODAL_VIDEO in self.output
|
|
318
|
+
|
|
319
|
+
def is_music_output(self) -> bool:
|
|
320
|
+
"""
|
|
321
|
+
Check if model supports music output
|
|
322
|
+
|
|
323
|
+
:return: True if supports music output
|
|
324
|
+
"""
|
|
325
|
+
return MULTIMODAL_AUDIO in self.output
|
|
330
326
|
|
|
331
327
|
def dump(self) -> str:
|
|
332
328
|
"""
|