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.
Files changed (68) hide show
  1. pygpt_net/CHANGELOG.txt +21 -0
  2. pygpt_net/__init__.py +3 -3
  3. pygpt_net/app.py +5 -1
  4. pygpt_net/controller/chat/chat.py +0 -0
  5. pygpt_net/controller/chat/handler/openai_stream.py +137 -7
  6. pygpt_net/controller/chat/render.py +0 -0
  7. pygpt_net/controller/config/field/checkbox_list.py +34 -1
  8. pygpt_net/controller/files/files.py +71 -2
  9. pygpt_net/controller/media/media.py +20 -1
  10. pygpt_net/controller/presets/editor.py +137 -22
  11. pygpt_net/controller/presets/presets.py +4 -1
  12. pygpt_net/controller/ui/mode.py +14 -10
  13. pygpt_net/controller/ui/ui.py +18 -1
  14. pygpt_net/core/agents/custom/__init__.py +18 -2
  15. pygpt_net/core/agents/custom/runner.py +2 -2
  16. pygpt_net/core/attachments/clipboard.py +146 -0
  17. pygpt_net/core/image/image.py +34 -1
  18. pygpt_net/core/render/web/renderer.py +33 -11
  19. pygpt_net/core/tabs/tabs.py +0 -0
  20. pygpt_net/core/types/image.py +61 -3
  21. pygpt_net/data/config/config.json +4 -3
  22. pygpt_net/data/config/models.json +629 -41
  23. pygpt_net/data/css/style.dark.css +12 -0
  24. pygpt_net/data/css/style.light.css +12 -0
  25. pygpt_net/data/icons/pin2.svg +1 -0
  26. pygpt_net/data/icons/pin3.svg +3 -0
  27. pygpt_net/data/icons/point.svg +1 -0
  28. pygpt_net/data/icons/target.svg +1 -0
  29. pygpt_net/data/js/app/ui.js +19 -2
  30. pygpt_net/data/js/app/user.js +22 -54
  31. pygpt_net/data/js/app.min.js +7 -9
  32. pygpt_net/data/locale/locale.de.ini +4 -0
  33. pygpt_net/data/locale/locale.en.ini +8 -0
  34. pygpt_net/data/locale/locale.es.ini +4 -0
  35. pygpt_net/data/locale/locale.fr.ini +4 -0
  36. pygpt_net/data/locale/locale.it.ini +4 -0
  37. pygpt_net/data/locale/locale.pl.ini +4 -0
  38. pygpt_net/data/locale/locale.uk.ini +4 -0
  39. pygpt_net/data/locale/locale.zh.ini +4 -0
  40. pygpt_net/icons.qrc +4 -0
  41. pygpt_net/icons_rc.py +274 -137
  42. pygpt_net/item/model.py +15 -19
  43. pygpt_net/js_rc.py +2038 -2075
  44. pygpt_net/provider/agents/openai/agent.py +0 -0
  45. pygpt_net/provider/api/google/__init__.py +20 -9
  46. pygpt_net/provider/api/google/image.py +161 -28
  47. pygpt_net/provider/api/google/video.py +73 -36
  48. pygpt_net/provider/api/openai/__init__.py +21 -11
  49. pygpt_net/provider/api/openai/agents/client.py +0 -0
  50. pygpt_net/provider/api/openai/video.py +562 -0
  51. pygpt_net/provider/core/config/patch.py +15 -0
  52. pygpt_net/provider/core/model/patch.py +29 -3
  53. pygpt_net/provider/vector_stores/qdrant.py +117 -0
  54. pygpt_net/ui/__init__.py +6 -1
  55. pygpt_net/ui/dialog/preset.py +9 -4
  56. pygpt_net/ui/layout/chat/attachments.py +18 -1
  57. pygpt_net/ui/layout/status.py +3 -3
  58. pygpt_net/ui/layout/toolbox/raw.py +7 -1
  59. pygpt_net/ui/widget/element/status.py +55 -0
  60. pygpt_net/ui/widget/filesystem/explorer.py +116 -2
  61. pygpt_net/ui/widget/lists/context.py +26 -16
  62. pygpt_net/ui/widget/option/checkbox_list.py +14 -2
  63. pygpt_net/ui/widget/textarea/input.py +71 -17
  64. {pygpt_net-2.6.64.dist-info → pygpt_net-2.6.66.dist-info}/METADATA +76 -25
  65. {pygpt_net-2.6.64.dist-info → pygpt_net-2.6.66.dist-info}/RECORD +63 -55
  66. {pygpt_net-2.6.64.dist-info → pygpt_net-2.6.66.dist-info}/LICENSE +0 -0
  67. {pygpt_net-2.6.64.dist-info → pygpt_net-2.6.66.dist-info}/WHEEL +0 -0
  68. {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\x9a\x00\x00\x00\x02\
4796
- \x00\x00\x0d\xec\x00\x00\x00\x00\x00\x01\x00\x00\xcf\x17\
4797
- \x00\x00\x10\x16\x00\x00\x00\x00\x00\x01\x00\x00\xedm\
4798
- \x00\x00\x0c\x18\x00\x00\x00\x00\x00\x01\x00\x00\xb3I\
4799
- \x00\x00\x0cx\x00\x00\x00\x00\x00\x01\x00\x00\xba\x1b\
4800
- \x00\x00\x07\x9a\x00\x00\x00\x00\x00\x01\x00\x00lg\
4801
- \x00\x00\x03Z\x00\x00\x00\x00\x00\x01\x00\x00/`\
4802
- \x00\x00\x03p\x00\x00\x00\x00\x00\x01\x00\x001O\
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\x8a\x00\x00\x00\x00\x00\x01\x00\x00\x9a\xe8\
4805
- \x00\x00\x09\xb0\x00\x00\x00\x00\x00\x01\x00\x00\x8e\xa5\
4806
- \x00\x00\x09\x96\x00\x00\x00\x00\x00\x01\x00\x00\x8d\x11\
4807
- \x00\x00\x08\xfa\x00\x00\x00\x00\x00\x01\x00\x00\x81\xea\
4808
- \x00\x00\x09\xde\x00\x00\x00\x00\x00\x01\x00\x00\x93\x0e\
4809
- \x00\x00\x07z\x00\x00\x00\x00\x00\x01\x00\x00kZ\
4810
- \x00\x00\x09J\x00\x00\x00\x00\x00\x01\x00\x00\x85\x99\
4811
- \x00\x00\x08\x14\x00\x00\x00\x00\x00\x01\x00\x00u\x93\
4812
- \x00\x00\x02\xd2\x00\x00\x00\x00\x00\x01\x00\x00's\
4813
- \x00\x00\x0eR\x00\x00\x00\x00\x00\x01\x00\x00\xd6A\
4814
- \x00\x00\x0b\xec\x00\x00\x00\x00\x00\x01\x00\x00\xb09\
4815
- \x00\x00\x02b\x00\x00\x00\x00\x00\x01\x00\x00\x1fa\
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\x04\xf0\x00\x00\x00\x00\x00\x01\x00\x00F\xc1\
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\x08>\x00\x00\x00\x00\x00\x01\x00\x00y\x0e\
4820
- \x00\x00\x06\xe8\x00\x00\x00\x00\x00\x01\x00\x00c\x5c\
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\x06Z\x00\x00\x00\x00\x00\x01\x00\x00Z\xc9\
4823
- \x00\x00\x08p\x00\x00\x00\x00\x00\x01\x00\x00|<\
4824
- \x00\x00\x09\x10\x00\x00\x00\x00\x00\x01\x00\x00\x82\xa8\
4825
- \x00\x00\x03\x8c\x00\x00\x00\x00\x00\x01\x00\x002\x89\
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\x0c0\x00\x00\x00\x00\x00\x01\x00\x00\xb5+\
4828
- \x00\x00\x02\x9e\x00\x00\x00\x00\x00\x01\x00\x00\x22\xbf\
4829
- \x00\x00\x01\xf6\x00\x00\x00\x00\x00\x01\x00\x00\x1a\xc1\
4830
- \x00\x00\x0b\x84\x00\x00\x00\x00\x00\x01\x00\x00\xac\x13\
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\x94\x00\x00\x00\x00\x00\x01\x00\x00b\xaa\
4833
- \x00\x00\x0d8\x00\x00\x00\x00\x00\x01\x00\x00\xc7\x5c\
4834
- \x00\x00\x09\xc4\x00\x00\x00\x00\x00\x01\x00\x00\x90\xc6\
4835
- \x00\x00\x024\x00\x00\x00\x00\x00\x01\x00\x00\x1c\xa5\
4836
- \x00\x00\x0c\xda\x00\x00\x00\x00\x00\x01\x00\x00\xc0\xb2\
4837
- \x00\x00\x03@\x00\x00\x00\x00\x00\x01\x00\x00-\xad\
4838
- \x00\x00\x0et\x00\x00\x00\x00\x00\x01\x00\x00\xd7>\
4839
- \x00\x00\x05\xb0\x00\x00\x00\x00\x00\x01\x00\x00P\xf0\
4840
- \x00\x00\x09h\x00\x00\x00\x00\x00\x01\x00\x00\x86\xe6\
4841
- \x00\x00\x0c\xa8\x00\x00\x00\x00\x00\x01\x00\x00\xbdh\
4842
- \x00\x00\x0f\xa8\x00\x00\x00\x00\x00\x01\x00\x00\xe8w\
4843
- \x00\x00\x0f\xda\x00\x00\x00\x00\x00\x01\x00\x00\xea\xce\
4844
- \x00\x00\x0e\x8a\x00\x00\x00\x00\x00\x01\x00\x00\xd7\xff\
4845
- \x00\x00\x0d\xc0\x00\x00\x00\x00\x00\x01\x00\x00\xcdl\
4846
- \x00\x00\x05\xe6\x00\x00\x00\x00\x00\x01\x00\x00R\x8a\
4847
- \x00\x00\x07\xf6\x00\x00\x00\x00\x00\x01\x00\x00s\xba\
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\x0a\xf0\x00\x00\x00\x00\x00\x01\x00\x00\x9fK\
4850
- \x00\x00\x0cd\x00\x00\x00\x00\x00\x01\x00\x00\xb7\xfd\
4851
- \x00\x00\x0a\xd2\x00\x00\x00\x00\x00\x01\x00\x00\x9e\x1d\
4852
- \x00\x00\x0d\xaa\x00\x00\x00\x00\x00\x01\x00\x00\xcc\xaf\
4853
- \x00\x00\x03\xd0\x00\x00\x00\x00\x00\x01\x00\x0061\
4854
- \x00\x00\x06t\x00\x00\x00\x00\x00\x01\x00\x00\x5c\x16\
4855
- \x00\x00\x06<\x00\x00\x00\x00\x00\x01\x00\x00W&\
4856
- \x00\x00\x0d \x00\x00\x00\x00\x00\x01\x00\x00\xc6\x07\
4857
- \x00\x00\x05d\x00\x00\x00\x00\x00\x01\x00\x00M\x00\
4858
- \x00\x00\x06\xb8\x00\x00\x00\x00\x00\x01\x00\x00ac\
4859
- \x00\x00\x076\x00\x00\x00\x00\x00\x01\x00\x00iJ\
4860
- \x00\x00\x07\x5c\x00\x00\x00\x00\x00\x01\x00\x00jD\
4861
- \x00\x00\x0b\xb0\x00\x00\x00\x00\x00\x01\x00\x00\xad\xd6\
4862
- \x00\x00\x0b4\x00\x00\x00\x00\x00\x01\x00\x00\xa8\x98\
4863
- \x00\x00\x0a\x1a\x00\x00\x00\x00\x00\x01\x00\x00\x95\x9c\
4864
- \x00\x00\x02J\x00\x00\x00\x00\x00\x01\x00\x00\x1d\xf9\
4865
- \x00\x00\x0c\x00\x00\x00\x00\x00\x00\x01\x00\x00\xb1\xfc\
4866
- \x00\x00\x0f\x90\x00\x00\x00\x00\x00\x01\x00\x00\xe7H\
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\x0b\x06\x00\x00\x00\x00\x00\x01\x00\x00\xa3R\
4869
- \x00\x00\x0e\xde\x00\x00\x00\x00\x00\x01\x00\x00\xdc\xce\
4870
- \x00\x00\x0e\xf6\x00\x00\x00\x00\x00\x01\x00\x00\xdf\x00\
4871
- \x00\x00\x04\xc4\x00\x00\x00\x00\x00\x01\x00\x00Cr\
4872
- \x00\x00\x02\xea\x00\x00\x00\x00\x00\x01\x00\x00)V\
4873
- \x00\x00\x0dT\x00\x00\x00\x00\x00\x01\x00\x00\xc9\xf4\
4874
- \x00\x00\x04\x98\x00\x00\x00\x00\x00\x01\x00\x00A\x93\
4875
- \x00\x00\x08Z\x00\x00\x00\x00\x00\x01\x00\x00z\xb8\
4876
- \x00\x00\x0cN\x00\x00\x00\x00\x00\x01\x00\x00\xb6.\
4877
- \x00\x00\x03\xba\x00\x00\x00\x00\x00\x01\x00\x005%\
4878
- \x00\x00\x08\xce\x00\x00\x00\x00\x00\x01\x00\x00~Q\
4879
- \x00\x00\x07\x1e\x00\x00\x00\x00\x00\x01\x00\x00f\xdf\
4880
- \x00\x00\x02\x1a\x00\x00\x00\x00\x00\x01\x00\x00\x1bu\
4881
- \x00\x00\x02\xb4\x00\x00\x00\x00\x00\x01\x00\x00#\xa3\
4882
- \x00\x00\x04\x5c\x00\x00\x00\x00\x00\x01\x00\x00?M\
4883
- \x00\x00\x05,\x00\x00\x00\x00\x00\x01\x00\x00J\xf0\
4884
- \x00\x00\x03&\x00\x00\x00\x00\x00\x01\x00\x00,w\
4885
- \x00\x00\x07\x04\x00\x00\x00\x00\x00\x01\x00\x00eE\
4886
- \x00\x00\x05|\x00\x00\x00\x00\x00\x01\x00\x00N\x1f\
4887
- \x00\x00\x0fn\x00\x00\x00\x00\x00\x01\x00\x00\xe5\xb8\
4888
- \x00\x00\x0c\xc6\x00\x00\x00\x00\x00\x01\x00\x00\xbfq\
4889
- \x00\x00\x0fV\x00\x00\x00\x00\x00\x01\x00\x00\xe4&\
4890
- \x00\x00\x0e\xae\x00\x00\x00\x00\x00\x01\x00\x00\xd9\xb3\
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\x03\xe8\x00\x00\x00\x00\x00\x01\x00\x007\xb7\
4893
- \x00\x00\x05\x98\x00\x00\x00\x00\x00\x01\x00\x00O\xab\
4894
- \x00\x00\x06\xa0\x00\x00\x00\x00\x00\x01\x00\x00_\xb0\
4895
- \x00\x00\x02\x8a\x00\x00\x00\x00\x00\x01\x00\x00 \xcd\
4896
- \x00\x00\x040\x00\x00\x00\x00\x00\x01\x00\x00;X\
4897
- \x00\x00\x04H\x00\x00\x00\x00\x00\x01\x00\x00<\xaf\
4898
- \x00\x00\x0d\x06\x00\x00\x00\x00\x00\x01\x00\x00\xc4\xda\
4899
- \x00\x00\x07\xb6\x00\x00\x00\x00\x00\x01\x00\x00n\xc5\
4900
- \x00\x00\x05\xc8\x00\x00\x00\x00\x00\x01\x00\x00Q\xce\
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\x8a\x00\x00\x00\x00\x00\x01\x00\x00}T\
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\x0f\x10\x00\x00\x00\x00\x00\x01\x00\x00\xe0x\
4905
- \x00\x00\x09z\x00\x00\x00\x00\x00\x01\x00\x00\x89\xbf\
4906
- \x00\x00\x03\xa4\x00\x00\x00\x00\x00\x01\x00\x004e\
4907
- \x00\x00\x04\x16\x00\x00\x00\x00\x00\x01\x00\x00:\x04\
4908
- \x00\x00\x04~\x00\x00\x00\x00\x00\x01\x00\x00@\x16\
4909
- \x00\x00\x0a2\x00\x00\x00\x00\x00\x01\x00\x00\x96\xb0\
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\xd0\x00\x00\x00\x00\x00\x01\x00\x00b\xaa\
4913
- \x00\x00\x05L\x00\x00\x00\x00\x00\x01\x00\x00K\xb7\
4914
- \x00\x00\x0c\x92\x00\x00\x00\x00\x00\x01\x00\x00\xbcI\
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\x0e\x00\x00\x00\x00\x00\x01\x00\x00G\xed\
4917
- \x00\x00\x0dn\x00\x00\x00\x00\x00\x01\x00\x00\xcb\xb4\
4918
- \x00\x00\x04\x00\x00\x00\x00\x00\x00\x01\x00\x009>\
4919
- \x00\x00\x0c\xf0\x00\x00\x00\x00\x00\x01\x00\x00\xc2#\
4920
- \x00\x00\x0aJ\x00\x00\x00\x00\x00\x01\x00\x00\x97s\
4921
- \x00\x00\x0f.\x00\x00\x00\x00\x00\x01\x00\x00\xe1\xcc\
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\x0bn\x00\x00\x00\x00\x00\x01\x00\x00\xabR\
4924
- \x00\x00\x0a\xae\x00\x00\x00\x00\x00\x01\x00\x00\x9c\x92\
4925
- \x00\x00\x08\xe6\x00\x00\x00\x00\x00\x01\x00\x00\x80j\
4926
- \x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x01\x00\x00\xda\xda\
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&\x00\x00\x00\x00\x00\x01\x00\x00\xd2\xf9\
4929
- \x00\x00\x08(\x00\x00\x00\x00\x00\x01\x00\x00w\x1f\
4930
- \x00\x00\x0a\x00\x00\x00\x00\x00\x00\x01\x00\x00\x94\x89\
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\xb2\x00\x00\x00\x00\x00\x01\x00\x00s\xba\
4933
- \x00\x00\x0b\x9a\x00\x00\x00\x00\x00\x01\x00\x00\xad\x06\
4934
- \x00\x00\x0e>\x00\x00\x00\x00\x00\x01\x00\x00\xd4\xa4\
4935
- \x00\x00\x09&\x00\x00\x00\x00\x00\x01\x00\x00\x84\x9b\
4936
- \x00\x00\x0bP\x00\x00\x00\x00\x00\x01\x00\x00\xa9V\
4937
- \x00\x00\x07\xd0\x00\x00\x00\x00\x00\x01\x00\x00q\xf0\
4938
- \x00\x00\x0ad\x00\x00\x00\x00\x00\x01\x00\x00\x98\xed\
4939
- \x00\x00\x0f\xf8\x00\x00\x00\x00\x00\x01\x00\x00\xec^\
4940
- \x00\x00\x0f\xc2\x00\x00\x00\x00\x00\x01\x00\x00\xe9\x8c\
4941
- \x00\x00\x03\x00\x00\x00\x00\x00\x00\x01\x00\x00*\xa8\
4942
- \x00\x00\x04\xda\x00\x00\x00\x00\x00\x01\x00\x00Em\
4943
- \x00\x00\x0b\xca\x00\x00\x00\x00\x00\x01\x00\x00\xae\x88\
4944
- \x00\x00\x0e\x04\x00\x00\x00\x00\x00\x01\x00\x00\xd1&\
4945
- \x00\x00\x06\x1a\x00\x00\x00\x00\x00\x01\x00\x00U\xc6\
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\x88\x00\x00\x00\x00\x00\x01\x00\x00\x5c\xcc\
4948
- \x00\x00\x05\xfa\x00\x00\x00\x00\x00\x01\x00\x00TG\
4949
- \x00\x00\x0b\x1e\x00\x00\x00\x00\x00\x01\x00\x00\xa6n\
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.09.15 01:00:00 #
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
- if MULTIMODAL_IMAGE in self.input:
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
- if "image" in self.output or MODE_VISION in self.mode:
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
- if MULTIMODAL_AUDIO in self.input:
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
- if MULTIMODAL_AUDIO in self.output:
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
- if MULTIMODAL_VIDEO in self.input:
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
- if MULTIMODAL_VIDEO in self.output:
328
- return True
329
- return False
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
  """