pygpt-net 2.6.56__py3-none-any.whl → 2.6.58__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 (221) hide show
  1. pygpt_net/CHANGELOG.txt +10 -0
  2. pygpt_net/__init__.py +1 -1
  3. pygpt_net/app.py +30 -25
  4. pygpt_net/config.py +44 -0
  5. pygpt_net/controller/chat/remote_tools.py +5 -3
  6. pygpt_net/controller/debug/debug.py +3 -3
  7. pygpt_net/controller/dialogs/info.py +6 -2
  8. pygpt_net/controller/ui/mode.py +5 -3
  9. pygpt_net/controller/ui/tabs.py +17 -0
  10. pygpt_net/core/filesystem/url.py +5 -2
  11. pygpt_net/core/models/models.py +2 -1
  12. pygpt_net/core/plugins/plugins.py +60 -0
  13. pygpt_net/data/config/config.json +4 -2
  14. pygpt_net/data/config/models.json +2 -2
  15. pygpt_net/data/config/settings.json +55 -2
  16. pygpt_net/data/js/app/ui.js +1 -1
  17. pygpt_net/data/js/app.min.js +2 -2
  18. pygpt_net/data/locale/locale.de.ini +7 -1
  19. pygpt_net/data/locale/locale.en.ini +12 -7
  20. pygpt_net/data/locale/locale.es.ini +6 -0
  21. pygpt_net/data/locale/locale.fr.ini +6 -0
  22. pygpt_net/data/locale/locale.it.ini +6 -0
  23. pygpt_net/data/locale/locale.pl.ini +7 -1
  24. pygpt_net/data/locale/locale.uk.ini +7 -1
  25. pygpt_net/data/locale/locale.zh.ini +6 -0
  26. pygpt_net/data/locale/plugin.agent.de.ini +0 -0
  27. pygpt_net/data/locale/plugin.agent.en.ini +0 -0
  28. pygpt_net/data/locale/plugin.agent.es.ini +0 -0
  29. pygpt_net/data/locale/plugin.agent.fr.ini +0 -0
  30. pygpt_net/data/locale/plugin.agent.it.ini +0 -0
  31. pygpt_net/data/locale/plugin.agent.pl.ini +0 -0
  32. pygpt_net/data/locale/plugin.agent.uk.ini +0 -0
  33. pygpt_net/data/locale/plugin.agent.zh.ini +0 -0
  34. pygpt_net/data/locale/plugin.audio_input.de.ini +0 -0
  35. pygpt_net/data/locale/plugin.audio_input.en.ini +0 -0
  36. pygpt_net/data/locale/plugin.audio_input.es.ini +0 -0
  37. pygpt_net/data/locale/plugin.audio_input.fr.ini +0 -0
  38. pygpt_net/data/locale/plugin.audio_input.it.ini +0 -0
  39. pygpt_net/data/locale/plugin.audio_input.pl.ini +0 -0
  40. pygpt_net/data/locale/plugin.audio_input.uk.ini +0 -0
  41. pygpt_net/data/locale/plugin.audio_input.zh.ini +0 -0
  42. pygpt_net/data/locale/plugin.audio_output.de.ini +0 -0
  43. pygpt_net/data/locale/plugin.audio_output.en.ini +0 -0
  44. pygpt_net/data/locale/plugin.audio_output.es.ini +0 -0
  45. pygpt_net/data/locale/plugin.audio_output.fr.ini +0 -0
  46. pygpt_net/data/locale/plugin.audio_output.it.ini +0 -0
  47. pygpt_net/data/locale/plugin.audio_output.pl.ini +0 -0
  48. pygpt_net/data/locale/plugin.audio_output.uk.ini +0 -0
  49. pygpt_net/data/locale/plugin.audio_output.zh.ini +0 -0
  50. pygpt_net/data/locale/plugin.cmd_api.de.ini +0 -0
  51. pygpt_net/data/locale/plugin.cmd_api.en.ini +0 -0
  52. pygpt_net/data/locale/plugin.cmd_api.es.ini +0 -0
  53. pygpt_net/data/locale/plugin.cmd_api.fr.ini +0 -0
  54. pygpt_net/data/locale/plugin.cmd_api.it.ini +0 -0
  55. pygpt_net/data/locale/plugin.cmd_api.pl.ini +0 -0
  56. pygpt_net/data/locale/plugin.cmd_api.uk.ini +0 -0
  57. pygpt_net/data/locale/plugin.cmd_api.zh.ini +0 -0
  58. pygpt_net/data/locale/plugin.cmd_code_interpreter.de.ini +0 -0
  59. pygpt_net/data/locale/plugin.cmd_code_interpreter.en.ini +0 -0
  60. pygpt_net/data/locale/plugin.cmd_code_interpreter.es.ini +0 -0
  61. pygpt_net/data/locale/plugin.cmd_code_interpreter.fr.ini +0 -0
  62. pygpt_net/data/locale/plugin.cmd_code_interpreter.it.ini +0 -0
  63. pygpt_net/data/locale/plugin.cmd_code_interpreter.pl.ini +0 -0
  64. pygpt_net/data/locale/plugin.cmd_code_interpreter.uk.ini +0 -0
  65. pygpt_net/data/locale/plugin.cmd_code_interpreter.zh.ini +0 -0
  66. pygpt_net/data/locale/plugin.cmd_custom.de.ini +0 -0
  67. pygpt_net/data/locale/plugin.cmd_custom.en.ini +0 -0
  68. pygpt_net/data/locale/plugin.cmd_custom.es.ini +0 -0
  69. pygpt_net/data/locale/plugin.cmd_custom.fr.ini +0 -0
  70. pygpt_net/data/locale/plugin.cmd_custom.it.ini +0 -0
  71. pygpt_net/data/locale/plugin.cmd_custom.pl.ini +0 -0
  72. pygpt_net/data/locale/plugin.cmd_custom.uk.ini +0 -0
  73. pygpt_net/data/locale/plugin.cmd_custom.zh.ini +0 -0
  74. pygpt_net/data/locale/plugin.cmd_files.de.ini +0 -0
  75. pygpt_net/data/locale/plugin.cmd_files.en.ini +0 -0
  76. pygpt_net/data/locale/plugin.cmd_files.es.ini +0 -0
  77. pygpt_net/data/locale/plugin.cmd_files.fr.ini +0 -0
  78. pygpt_net/data/locale/plugin.cmd_files.it.ini +0 -0
  79. pygpt_net/data/locale/plugin.cmd_files.pl.ini +0 -0
  80. pygpt_net/data/locale/plugin.cmd_files.uk.ini +0 -0
  81. pygpt_net/data/locale/plugin.cmd_files.zh.ini +0 -0
  82. pygpt_net/data/locale/plugin.cmd_history.de.ini +0 -0
  83. pygpt_net/data/locale/plugin.cmd_history.en.ini +0 -0
  84. pygpt_net/data/locale/plugin.cmd_history.es.ini +0 -0
  85. pygpt_net/data/locale/plugin.cmd_history.fr.ini +0 -0
  86. pygpt_net/data/locale/plugin.cmd_history.it.ini +0 -0
  87. pygpt_net/data/locale/plugin.cmd_history.pl.ini +0 -0
  88. pygpt_net/data/locale/plugin.cmd_history.uk.ini +0 -0
  89. pygpt_net/data/locale/plugin.cmd_history.zh.ini +0 -0
  90. pygpt_net/data/locale/plugin.cmd_mouse_control.de.ini +0 -0
  91. pygpt_net/data/locale/plugin.cmd_mouse_control.en.ini +0 -0
  92. pygpt_net/data/locale/plugin.cmd_mouse_control.es.ini +0 -0
  93. pygpt_net/data/locale/plugin.cmd_mouse_control.fr.ini +0 -0
  94. pygpt_net/data/locale/plugin.cmd_mouse_control.it.ini +0 -0
  95. pygpt_net/data/locale/plugin.cmd_mouse_control.pl.ini +0 -0
  96. pygpt_net/data/locale/plugin.cmd_mouse_control.uk.ini +0 -0
  97. pygpt_net/data/locale/plugin.cmd_mouse_control.zh.ini +0 -0
  98. pygpt_net/data/locale/plugin.cmd_serial.de.ini +0 -0
  99. pygpt_net/data/locale/plugin.cmd_serial.en.ini +0 -0
  100. pygpt_net/data/locale/plugin.cmd_serial.es.ini +0 -0
  101. pygpt_net/data/locale/plugin.cmd_serial.fr.ini +0 -0
  102. pygpt_net/data/locale/plugin.cmd_serial.it.ini +0 -0
  103. pygpt_net/data/locale/plugin.cmd_serial.pl.ini +0 -0
  104. pygpt_net/data/locale/plugin.cmd_serial.uk.ini +0 -0
  105. pygpt_net/data/locale/plugin.cmd_serial.zh.ini +0 -0
  106. pygpt_net/data/locale/plugin.cmd_system.de.ini +0 -0
  107. pygpt_net/data/locale/plugin.cmd_system.en.ini +0 -0
  108. pygpt_net/data/locale/plugin.cmd_system.es.ini +0 -0
  109. pygpt_net/data/locale/plugin.cmd_system.fr.ini +0 -0
  110. pygpt_net/data/locale/plugin.cmd_system.it.ini +0 -0
  111. pygpt_net/data/locale/plugin.cmd_system.pl.ini +0 -0
  112. pygpt_net/data/locale/plugin.cmd_system.uk.ini +0 -0
  113. pygpt_net/data/locale/plugin.cmd_system.zh.ini +0 -0
  114. pygpt_net/data/locale/plugin.cmd_web.de.ini +0 -0
  115. pygpt_net/data/locale/plugin.cmd_web.en.ini +0 -0
  116. pygpt_net/data/locale/plugin.cmd_web.es.ini +0 -0
  117. pygpt_net/data/locale/plugin.cmd_web.fr.ini +0 -0
  118. pygpt_net/data/locale/plugin.cmd_web.it.ini +0 -0
  119. pygpt_net/data/locale/plugin.cmd_web.pl.ini +0 -0
  120. pygpt_net/data/locale/plugin.cmd_web.uk.ini +0 -0
  121. pygpt_net/data/locale/plugin.cmd_web.zh.ini +0 -0
  122. pygpt_net/data/locale/plugin.crontab.de.ini +0 -0
  123. pygpt_net/data/locale/plugin.crontab.en.ini +0 -0
  124. pygpt_net/data/locale/plugin.crontab.es.ini +0 -0
  125. pygpt_net/data/locale/plugin.crontab.fr.ini +0 -0
  126. pygpt_net/data/locale/plugin.crontab.it.ini +0 -0
  127. pygpt_net/data/locale/plugin.crontab.pl.ini +0 -0
  128. pygpt_net/data/locale/plugin.crontab.uk.ini +0 -0
  129. pygpt_net/data/locale/plugin.crontab.zh.ini +0 -0
  130. pygpt_net/data/locale/plugin.experts.de.ini +0 -0
  131. pygpt_net/data/locale/plugin.experts.en.ini +0 -0
  132. pygpt_net/data/locale/plugin.experts.es.ini +0 -0
  133. pygpt_net/data/locale/plugin.experts.fr.ini +0 -0
  134. pygpt_net/data/locale/plugin.experts.it.ini +0 -0
  135. pygpt_net/data/locale/plugin.experts.pl.ini +0 -0
  136. pygpt_net/data/locale/plugin.experts.uk.ini +0 -0
  137. pygpt_net/data/locale/plugin.experts.zh.ini +0 -0
  138. pygpt_net/data/locale/plugin.extra_prompt.de.ini +0 -0
  139. pygpt_net/data/locale/plugin.extra_prompt.en.ini +0 -0
  140. pygpt_net/data/locale/plugin.extra_prompt.es.ini +0 -0
  141. pygpt_net/data/locale/plugin.extra_prompt.fr.ini +0 -0
  142. pygpt_net/data/locale/plugin.extra_prompt.it.ini +0 -0
  143. pygpt_net/data/locale/plugin.extra_prompt.pl.ini +0 -0
  144. pygpt_net/data/locale/plugin.extra_prompt.uk.ini +0 -0
  145. pygpt_net/data/locale/plugin.extra_prompt.zh.ini +0 -0
  146. pygpt_net/data/locale/plugin.idx_llama_index.de.ini +0 -0
  147. pygpt_net/data/locale/plugin.idx_llama_index.en.ini +0 -0
  148. pygpt_net/data/locale/plugin.idx_llama_index.es.ini +0 -0
  149. pygpt_net/data/locale/plugin.idx_llama_index.fr.ini +0 -0
  150. pygpt_net/data/locale/plugin.idx_llama_index.it.ini +0 -0
  151. pygpt_net/data/locale/plugin.idx_llama_index.pl.ini +0 -0
  152. pygpt_net/data/locale/plugin.idx_llama_index.uk.ini +0 -0
  153. pygpt_net/data/locale/plugin.idx_llama_index.zh.ini +0 -0
  154. pygpt_net/data/locale/plugin.mailer.en.ini +0 -0
  155. pygpt_net/data/locale/plugin.mcp.en.ini +0 -0
  156. pygpt_net/data/locale/plugin.openai_dalle.de.ini +0 -0
  157. pygpt_net/data/locale/plugin.openai_dalle.en.ini +0 -0
  158. pygpt_net/data/locale/plugin.openai_dalle.es.ini +0 -0
  159. pygpt_net/data/locale/plugin.openai_dalle.fr.ini +0 -0
  160. pygpt_net/data/locale/plugin.openai_dalle.it.ini +0 -0
  161. pygpt_net/data/locale/plugin.openai_dalle.pl.ini +0 -0
  162. pygpt_net/data/locale/plugin.openai_dalle.uk.ini +0 -0
  163. pygpt_net/data/locale/plugin.openai_dalle.zh.ini +0 -0
  164. pygpt_net/data/locale/plugin.openai_vision.de.ini +0 -0
  165. pygpt_net/data/locale/plugin.openai_vision.en.ini +0 -0
  166. pygpt_net/data/locale/plugin.openai_vision.es.ini +0 -0
  167. pygpt_net/data/locale/plugin.openai_vision.fr.ini +0 -0
  168. pygpt_net/data/locale/plugin.openai_vision.it.ini +0 -0
  169. pygpt_net/data/locale/plugin.openai_vision.pl.ini +0 -0
  170. pygpt_net/data/locale/plugin.openai_vision.uk.ini +0 -0
  171. pygpt_net/data/locale/plugin.openai_vision.zh.ini +0 -0
  172. pygpt_net/data/locale/plugin.osm.en.ini +24 -24
  173. pygpt_net/data/locale/plugin.real_time.de.ini +0 -0
  174. pygpt_net/data/locale/plugin.real_time.en.ini +0 -0
  175. pygpt_net/data/locale/plugin.real_time.es.ini +0 -0
  176. pygpt_net/data/locale/plugin.real_time.fr.ini +0 -0
  177. pygpt_net/data/locale/plugin.real_time.it.ini +0 -0
  178. pygpt_net/data/locale/plugin.real_time.pl.ini +0 -0
  179. pygpt_net/data/locale/plugin.real_time.uk.ini +0 -0
  180. pygpt_net/data/locale/plugin.real_time.zh.ini +0 -0
  181. pygpt_net/data/locale/plugin.voice_control.de.ini +0 -0
  182. pygpt_net/data/locale/plugin.voice_control.en.ini +0 -0
  183. pygpt_net/data/locale/plugin.voice_control.es.ini +0 -0
  184. pygpt_net/data/locale/plugin.voice_control.fr.ini +0 -0
  185. pygpt_net/data/locale/plugin.voice_control.it.ini +0 -0
  186. pygpt_net/data/locale/plugin.voice_control.pl.ini +0 -0
  187. pygpt_net/data/locale/plugin.voice_control.uk.ini +0 -0
  188. pygpt_net/data/locale/plugin.voice_control.zh.ini +0 -0
  189. pygpt_net/data/locale/plugin.wolfram.en.ini +9 -9
  190. pygpt_net/js_rc.py +5 -5
  191. pygpt_net/plugin/base/plugin.py +3 -5
  192. pygpt_net/plugin/cmd_web/config.py +17 -17
  193. pygpt_net/plugin/cmd_web/worker.py +325 -171
  194. pygpt_net/provider/api/x_ai/__init__.py +2 -0
  195. pygpt_net/provider/core/config/patch.py +23 -1
  196. pygpt_net/provider/core/config/patches/patch_before_2_6_42.py +1 -0
  197. pygpt_net/provider/llms/anthropic.py +4 -0
  198. pygpt_net/provider/llms/base.py +2 -0
  199. pygpt_net/provider/llms/deepseek_api.py +2 -0
  200. pygpt_net/provider/llms/google.py +2 -0
  201. pygpt_net/provider/llms/hugging_face_api.py +4 -0
  202. pygpt_net/provider/llms/hugging_face_router.py +2 -0
  203. pygpt_net/provider/llms/mistral.py +4 -0
  204. pygpt_net/provider/llms/perplexity.py +2 -0
  205. pygpt_net/provider/llms/x_ai.py +2 -0
  206. pygpt_net/tools/html_canvas/ui/widgets.py +19 -18
  207. pygpt_net/tools/web_browser/__init__.py +12 -0
  208. pygpt_net/tools/web_browser/tool.py +232 -0
  209. pygpt_net/tools/web_browser/ui/__init__.py +0 -0
  210. pygpt_net/tools/web_browser/ui/dialogs.py +123 -0
  211. pygpt_net/tools/web_browser/ui/widgets.py +351 -0
  212. pygpt_net/ui/layout/chat/output.py +5 -5
  213. pygpt_net/ui/widget/dialog/base.py +4 -1
  214. pygpt_net/ui/widget/textarea/html.py +173 -24
  215. pygpt_net/ui/widget/textarea/input.py +19 -3
  216. pygpt_net/ui/widget/textarea/web.py +2 -1
  217. {pygpt_net-2.6.56.dist-info → pygpt_net-2.6.58.dist-info}/METADATA +26 -2
  218. {pygpt_net-2.6.56.dist-info → pygpt_net-2.6.58.dist-info}/RECORD +59 -54
  219. {pygpt_net-2.6.56.dist-info → pygpt_net-2.6.58.dist-info}/LICENSE +0 -0
  220. {pygpt_net-2.6.56.dist-info → pygpt_net-2.6.58.dist-info}/WHEEL +0 -0
  221. {pygpt_net-2.6.56.dist-info → pygpt_net-2.6.58.dist-info}/entry_points.txt +0 -0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,35 +1,35 @@
1
1
  [LOCALE]
2
- plugin.description = Search, geocode, plan routes, and generate static maps using OpenStreetMap services (Nominatim, OSRM, staticmap). Images are saved under data/openstreetmap/.
3
- plugin.name = OpenStreetMap
4
- http_timeout.description = Requests timeout in seconds.
5
- http_timeout.label = HTTP timeout (s)
6
- user_agent.description = Custom User-Agent for outgoing requests.
7
- user_agent.label = User-Agent
8
- contact_email.description = Contact email sent to Nominatim as recommended by its usage policy.
9
- contact_email.label = Contact email (Nominatim)
10
2
  accept_language.description = Preferred language for results, e.g. 'pl,en-US;q=0.8'.
11
3
  accept_language.label = Accept-Language
12
- nominatim_base.description = Base URL for Nominatim (geocoding).
13
- nominatim_base.label = Nominatim base
14
- osrm_base.description = Base URL for OSRM routing service.
15
- osrm_base.label = OSRM base
16
- staticmap_base.description = Base URL for static map service.
17
- staticmap_base.label = Static map base
18
- tile_base.description = Base URL for XYZ tiles (z/x/y.png).
19
- tile_base.label = Tile base
4
+ contact_email.description = Contact email sent to Nominatim as recommended by its usage policy.
5
+ contact_email.label = Contact email (Nominatim)
6
+ http_timeout.description = Requests timeout in seconds.
7
+ http_timeout.label = HTTP timeout (s)
8
+ map_height.description = Default static map height in pixels.
9
+ map_height.label = Default height
20
10
  map_type.description = Default static map layer type.
21
11
  map_type.label = Default map type
22
- map_zoom.description = Default zoom level for center-based maps.
23
- map_zoom.label = Default zoom
24
12
  map_width.description = Default static map width in pixels.
25
13
  map_width.label = Default width
26
- map_height.description = Default static map height in pixels.
27
- map_height.label = Default height
28
- route.mode.description = url | summary | full (default summary)
14
+ map_zoom.description = Default zoom level for center-based maps.
15
+ map_zoom.label = Default zoom
16
+ nominatim_base.description = Base URL for Nominatim (geocoding).
17
+ nominatim_base.label = Nominatim base
18
+ osrm_base.description = Base URL for OSRM routing service.
19
+ osrm_base.label = OSRM base
20
+ param.layers.description = Optional 'layers=' for openstreetmap.org URLs
21
+ param.layers.label = Layers
22
+ plugin.description = Search, geocode, plan routes, and generate static maps using OpenStreetMap services (Nominatim, OSRM, staticmap). Images are saved under data/openstreetmap/.
23
+ plugin.name = OpenStreetMap
24
+ route.debug_url.label = Include OSRM request URL
29
25
  route.include_geometry.label = Include geometry (polyline6)
30
26
  route.include_steps.label = Include steps (full mode only)
31
27
  route.max_polyline_chars.label = Max polyline characters
32
- route.debug_url.label = Include OSRM request URL
28
+ route.mode.description = url | summary | full (default summary)
33
29
  route.save_map.label = Build preview URL (openstreetmap.org)
34
- param.layers.label = Layers
35
- param.layers.description = Optional 'layers=' for openstreetmap.org URLs
30
+ staticmap_base.description = Base URL for static map service.
31
+ staticmap_base.label = Static map base
32
+ tile_base.description = Base URL for XYZ tiles (z/x/y.png).
33
+ tile_base.label = Tile base
34
+ user_agent.description = Custom User-Agent for outgoing requests.
35
+ user_agent.label = User-Agent
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,18 +1,12 @@
1
1
  [LOCALE]
2
- plugin.description = Compute and solve with Wolfram Alpha: short answers, full JSON pods, math (solve, derivatives, integrals), unit conversions, matrix operations, and plots. Images are saved under data/wolframalpha/.
3
- plugin.name = Wolfram Alpha
4
2
  api_base.description = Base API URL (default https://api.wolframalpha.com).
5
3
  api_base.label = API base
6
4
  api_base.tooltip = Change only if using a proxy or enterprise gateway.
7
5
  http_timeout.description = Requests timeout in seconds.
8
6
  http_timeout.label = HTTP timeout (s)
9
7
  http_timeout.tooltip = Increase if you experience timeouts on large queries.
10
- wa_appid.description = Your Wolfram Alpha AppID.
11
- wa_appid.label = Wolfram Alpha AppID
12
- wa_appid.tooltip = Create one at developer.wolframalpha.com. Required.
13
- units.description = Preferred unit system for supported endpoints.
14
- units.label = Units
15
- units.tooltip = Use 'metric' or 'nonmetric'.
8
+ plugin.description = Compute and solve with Wolfram Alpha: short answers, full JSON pods, math (solve, derivatives, integrals), unit conversions, matrix operations, and plots. Images are saved under data/wolframalpha/.
9
+ plugin.name = Wolfram Alpha
16
10
  simple_background.description = Background for Simple API images.
17
11
  simple_background.label = Simple background
18
12
  simple_background.tooltip = 'white' or 'transparent'.
@@ -21,4 +15,10 @@ simple_layout.label = Simple layout
21
15
  simple_layout.tooltip = e.g., 'labelbar', 'inputonly'.
22
16
  simple_width.description = Target width for Simple API images.
23
17
  simple_width.label = Simple width
24
- simple_width.tooltip = In pixels. Leave empty to use service default.
18
+ simple_width.tooltip = In pixels. Leave empty to use service default.
19
+ units.description = Preferred unit system for supported endpoints.
20
+ units.label = Units
21
+ units.tooltip = Use 'metric' or 'nonmetric'.
22
+ wa_appid.description = Your Wolfram Alpha AppID.
23
+ wa_appid.label = Wolfram Alpha AppID
24
+ wa_appid.tooltip = Create one at developer.wolframalpha.com. Required.
pygpt_net/js_rc.py CHANGED
@@ -70566,8 +70566,8 @@ eight: 0; border\
70566
70566
  sparent; backgro\
70567
70567
  und: transparent\
70568
70568
  ; }',\x0a\x09\x09\x09'.msg-b\
70569
- ox.msg-user:hove\
70570
- r .msg .msg-copy\
70569
+ ox.msg-user .msg\
70570
+ :hover .msg-copy\
70571
70571
  -btn, .msg-box.m\
70572
70572
  sg-user .msg:foc\
70573
70573
  us-within .msg-c\
@@ -113507,8 +113507,8 @@ ros||{},d(e,r)}}\
113507
113507
  /\
113508
113508
  * app.min.js \xe2\x80\x94\
113509
113509
  generated on 20\
113510
- 25-09-22 04:44:2\
113511
- 6 by bin/minify_\
113510
+ 25-09-22 09:05:0\
113511
+ 8 by bin/minify_\
113512
113512
  js.py using rjsm\
113513
113513
  in */\x0a\x0a/* data/j\
113514
113514
  s/app/async.js *\
@@ -114086,7 +114086,7 @@ VE_CODES_MAX',12\
114086
114086
  E_AFTER_LINES:Ut\
114087
114087
  ils.g('STREAM_PL\
114088
114088
  AIN_ACTIVATE_AFT\
114089
- ER_LINES',30),};\
114089
+ ER_LINES',80),};\
114090
114090
  this.MATH={IDLE_\
114091
114091
  TIMEOUT_MS:Utils\
114092
114092
  .g('MATH_IDLE_TI\
@@ -6,14 +6,13 @@
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.08.15 23:00:00 #
9
+ # Updated Date: 2025.09.22 19:00:00 #
10
10
  # ================================================== #
11
11
 
12
12
  import copy
13
13
  from typing import Optional, Any, Dict, List
14
14
 
15
- from PySide6.QtCore import QObject, Slot, QUrl
16
- from PySide6.QtGui import QDesktopServices
15
+ from PySide6.QtCore import QObject, Slot
17
16
 
18
17
  from pygpt_net.core.bridge.context import BridgeContext
19
18
  from pygpt_net.core.events import Event, KernelEvent
@@ -554,5 +553,4 @@ class BasePlugin(QObject):
554
553
 
555
554
  :param url: URL to open
556
555
  """
557
- if url:
558
- QDesktopServices.openUrl(QUrl(url))
556
+ self.window.controller.dialogs.info.open_url(url)
@@ -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.15 01:00:00 #
9
+ # Updated Date: 2025.09.22 15:00:00 #
10
10
  # ================================================== #
11
11
 
12
12
  from pygpt_net.core.types import MODEL_DEFAULT_MINI
@@ -45,7 +45,7 @@ class Config(BaseConfig):
45
45
  plugin.add_option(
46
46
  "max_open_urls",
47
47
  type="int",
48
- value=1,
48
+ value=3,
49
49
  label="Number of max URLs to open at once",
50
50
  description="Number of max URLs to open at once",
51
51
  min=1,
@@ -193,12 +193,12 @@ class Config(BaseConfig):
193
193
  # commands
194
194
  plugin.add_cmd(
195
195
  "web_url_open",
196
- instruction="read and get text content from ANY website URL. Always open a max of {max_urls} URLs at a time.",
196
+ instruction="read and get text content from ANY website URLs. Always open a max of {max_urls} URLs at a time.",
197
197
  params=[
198
198
  {
199
- "name": "url",
200
- "type": "str",
201
- "description": "URL to website",
199
+ "name": "urls",
200
+ "type": "list",
201
+ "description": "List of URLs to websites",
202
202
  "required": True,
203
203
  },
204
204
  ],
@@ -207,12 +207,12 @@ class Config(BaseConfig):
207
207
  )
208
208
  plugin.add_cmd(
209
209
  "web_url_raw",
210
- instruction="read and get raw HTML body from ANY website URL. Always open a max of {max_urls} URLs at a time.",
210
+ instruction="read and get raw HTML body from ANY website URLs. Always open a max of {max_urls} URLs at a time.",
211
211
  params=[
212
212
  {
213
- "name": "url",
214
- "type": "str",
215
- "description": "URL to website",
213
+ "name": "urls",
214
+ "type": "list",
215
+ "description": "List of URLs to websites",
216
216
  "required": True,
217
217
  },
218
218
  ],
@@ -318,12 +318,12 @@ class Config(BaseConfig):
318
318
  )
319
319
  plugin.add_cmd(
320
320
  "web_extract_links",
321
- instruction="open webpage and get list of all links from it",
321
+ instruction="open webpages and get list of all links from it",
322
322
  params=[
323
323
  {
324
- "name": "url",
325
- "type": "str",
326
- "description": "URL to website",
324
+ "name": "urls",
325
+ "type": "list",
326
+ "description": "List of URLs to websites",
327
327
  "required": True,
328
328
  },
329
329
  ],
@@ -335,9 +335,9 @@ class Config(BaseConfig):
335
335
  instruction="open webpage and get list of all images from it",
336
336
  params=[
337
337
  {
338
- "name": "url",
339
- "type": "str",
340
- "description": "URL to website",
338
+ "name": "urls",
339
+ "type": "list",
340
+ "description": "List of URLs to websites",
341
341
  "required": True,
342
342
  },
343
343
  {