pygpt-net 2.6.56__py3-none-any.whl → 2.6.57__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 +6 -0
- pygpt_net/__init__.py +1 -1
- pygpt_net/config.py +44 -0
- pygpt_net/controller/chat/remote_tools.py +5 -3
- pygpt_net/controller/ui/mode.py +5 -3
- pygpt_net/core/models/models.py +2 -1
- pygpt_net/core/plugins/plugins.py +60 -0
- pygpt_net/data/config/config.json +3 -2
- pygpt_net/data/config/models.json +2 -2
- pygpt_net/data/config/settings.json +14 -0
- pygpt_net/data/locale/locale.de.ini +3 -1
- pygpt_net/data/locale/locale.en.ini +8 -7
- pygpt_net/data/locale/locale.es.ini +2 -0
- pygpt_net/data/locale/locale.fr.ini +2 -0
- pygpt_net/data/locale/locale.it.ini +2 -0
- pygpt_net/data/locale/locale.pl.ini +3 -1
- pygpt_net/data/locale/locale.uk.ini +3 -1
- pygpt_net/data/locale/locale.zh.ini +2 -0
- pygpt_net/data/locale/plugin.agent.de.ini +0 -0
- pygpt_net/data/locale/plugin.agent.en.ini +0 -0
- pygpt_net/data/locale/plugin.agent.es.ini +0 -0
- pygpt_net/data/locale/plugin.agent.fr.ini +0 -0
- pygpt_net/data/locale/plugin.agent.it.ini +0 -0
- pygpt_net/data/locale/plugin.agent.pl.ini +0 -0
- pygpt_net/data/locale/plugin.agent.uk.ini +0 -0
- pygpt_net/data/locale/plugin.agent.zh.ini +0 -0
- pygpt_net/data/locale/plugin.audio_input.de.ini +0 -0
- pygpt_net/data/locale/plugin.audio_input.en.ini +0 -0
- pygpt_net/data/locale/plugin.audio_input.es.ini +0 -0
- pygpt_net/data/locale/plugin.audio_input.fr.ini +0 -0
- pygpt_net/data/locale/plugin.audio_input.it.ini +0 -0
- pygpt_net/data/locale/plugin.audio_input.pl.ini +0 -0
- pygpt_net/data/locale/plugin.audio_input.uk.ini +0 -0
- pygpt_net/data/locale/plugin.audio_input.zh.ini +0 -0
- pygpt_net/data/locale/plugin.audio_output.de.ini +0 -0
- pygpt_net/data/locale/plugin.audio_output.en.ini +0 -0
- pygpt_net/data/locale/plugin.audio_output.es.ini +0 -0
- pygpt_net/data/locale/plugin.audio_output.fr.ini +0 -0
- pygpt_net/data/locale/plugin.audio_output.it.ini +0 -0
- pygpt_net/data/locale/plugin.audio_output.pl.ini +0 -0
- pygpt_net/data/locale/plugin.audio_output.uk.ini +0 -0
- pygpt_net/data/locale/plugin.audio_output.zh.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_api.de.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_api.en.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_api.es.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_api.fr.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_api.it.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_api.pl.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_api.uk.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_api.zh.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_code_interpreter.de.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_code_interpreter.en.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_code_interpreter.es.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_code_interpreter.fr.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_code_interpreter.it.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_code_interpreter.pl.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_code_interpreter.uk.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_code_interpreter.zh.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_custom.de.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_custom.en.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_custom.es.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_custom.fr.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_custom.it.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_custom.pl.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_custom.uk.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_custom.zh.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_files.de.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_files.en.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_files.es.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_files.fr.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_files.it.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_files.pl.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_files.uk.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_files.zh.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_history.de.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_history.en.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_history.es.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_history.fr.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_history.it.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_history.pl.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_history.uk.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_history.zh.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_mouse_control.de.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_mouse_control.en.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_mouse_control.es.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_mouse_control.fr.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_mouse_control.it.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_mouse_control.pl.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_mouse_control.uk.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_mouse_control.zh.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_serial.de.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_serial.en.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_serial.es.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_serial.fr.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_serial.it.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_serial.pl.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_serial.uk.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_serial.zh.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_system.de.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_system.en.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_system.es.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_system.fr.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_system.it.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_system.pl.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_system.uk.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_system.zh.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_web.de.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_web.en.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_web.es.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_web.fr.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_web.it.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_web.pl.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_web.uk.ini +0 -0
- pygpt_net/data/locale/plugin.cmd_web.zh.ini +0 -0
- pygpt_net/data/locale/plugin.crontab.de.ini +0 -0
- pygpt_net/data/locale/plugin.crontab.en.ini +0 -0
- pygpt_net/data/locale/plugin.crontab.es.ini +0 -0
- pygpt_net/data/locale/plugin.crontab.fr.ini +0 -0
- pygpt_net/data/locale/plugin.crontab.it.ini +0 -0
- pygpt_net/data/locale/plugin.crontab.pl.ini +0 -0
- pygpt_net/data/locale/plugin.crontab.uk.ini +0 -0
- pygpt_net/data/locale/plugin.crontab.zh.ini +0 -0
- pygpt_net/data/locale/plugin.experts.de.ini +0 -0
- pygpt_net/data/locale/plugin.experts.en.ini +0 -0
- pygpt_net/data/locale/plugin.experts.es.ini +0 -0
- pygpt_net/data/locale/plugin.experts.fr.ini +0 -0
- pygpt_net/data/locale/plugin.experts.it.ini +0 -0
- pygpt_net/data/locale/plugin.experts.pl.ini +0 -0
- pygpt_net/data/locale/plugin.experts.uk.ini +0 -0
- pygpt_net/data/locale/plugin.experts.zh.ini +0 -0
- pygpt_net/data/locale/plugin.extra_prompt.de.ini +0 -0
- pygpt_net/data/locale/plugin.extra_prompt.en.ini +0 -0
- pygpt_net/data/locale/plugin.extra_prompt.es.ini +0 -0
- pygpt_net/data/locale/plugin.extra_prompt.fr.ini +0 -0
- pygpt_net/data/locale/plugin.extra_prompt.it.ini +0 -0
- pygpt_net/data/locale/plugin.extra_prompt.pl.ini +0 -0
- pygpt_net/data/locale/plugin.extra_prompt.uk.ini +0 -0
- pygpt_net/data/locale/plugin.extra_prompt.zh.ini +0 -0
- pygpt_net/data/locale/plugin.idx_llama_index.de.ini +0 -0
- pygpt_net/data/locale/plugin.idx_llama_index.en.ini +0 -0
- pygpt_net/data/locale/plugin.idx_llama_index.es.ini +0 -0
- pygpt_net/data/locale/plugin.idx_llama_index.fr.ini +0 -0
- pygpt_net/data/locale/plugin.idx_llama_index.it.ini +0 -0
- pygpt_net/data/locale/plugin.idx_llama_index.pl.ini +0 -0
- pygpt_net/data/locale/plugin.idx_llama_index.uk.ini +0 -0
- pygpt_net/data/locale/plugin.idx_llama_index.zh.ini +0 -0
- pygpt_net/data/locale/plugin.mailer.en.ini +0 -0
- pygpt_net/data/locale/plugin.mcp.en.ini +0 -0
- pygpt_net/data/locale/plugin.openai_dalle.de.ini +0 -0
- pygpt_net/data/locale/plugin.openai_dalle.en.ini +0 -0
- pygpt_net/data/locale/plugin.openai_dalle.es.ini +0 -0
- pygpt_net/data/locale/plugin.openai_dalle.fr.ini +0 -0
- pygpt_net/data/locale/plugin.openai_dalle.it.ini +0 -0
- pygpt_net/data/locale/plugin.openai_dalle.pl.ini +0 -0
- pygpt_net/data/locale/plugin.openai_dalle.uk.ini +0 -0
- pygpt_net/data/locale/plugin.openai_dalle.zh.ini +0 -0
- pygpt_net/data/locale/plugin.openai_vision.de.ini +0 -0
- pygpt_net/data/locale/plugin.openai_vision.en.ini +0 -0
- pygpt_net/data/locale/plugin.openai_vision.es.ini +0 -0
- pygpt_net/data/locale/plugin.openai_vision.fr.ini +0 -0
- pygpt_net/data/locale/plugin.openai_vision.it.ini +0 -0
- pygpt_net/data/locale/plugin.openai_vision.pl.ini +0 -0
- pygpt_net/data/locale/plugin.openai_vision.uk.ini +0 -0
- pygpt_net/data/locale/plugin.openai_vision.zh.ini +0 -0
- pygpt_net/data/locale/plugin.osm.en.ini +24 -24
- pygpt_net/data/locale/plugin.real_time.de.ini +0 -0
- pygpt_net/data/locale/plugin.real_time.en.ini +0 -0
- pygpt_net/data/locale/plugin.real_time.es.ini +0 -0
- pygpt_net/data/locale/plugin.real_time.fr.ini +0 -0
- pygpt_net/data/locale/plugin.real_time.it.ini +0 -0
- pygpt_net/data/locale/plugin.real_time.pl.ini +0 -0
- pygpt_net/data/locale/plugin.real_time.uk.ini +0 -0
- pygpt_net/data/locale/plugin.real_time.zh.ini +0 -0
- pygpt_net/data/locale/plugin.voice_control.de.ini +0 -0
- pygpt_net/data/locale/plugin.voice_control.en.ini +0 -0
- pygpt_net/data/locale/plugin.voice_control.es.ini +0 -0
- pygpt_net/data/locale/plugin.voice_control.fr.ini +0 -0
- pygpt_net/data/locale/plugin.voice_control.it.ini +0 -0
- pygpt_net/data/locale/plugin.voice_control.pl.ini +0 -0
- pygpt_net/data/locale/plugin.voice_control.uk.ini +0 -0
- pygpt_net/data/locale/plugin.voice_control.zh.ini +0 -0
- pygpt_net/data/locale/plugin.wolfram.en.ini +9 -9
- pygpt_net/plugin/cmd_web/config.py +17 -17
- pygpt_net/plugin/cmd_web/worker.py +325 -171
- pygpt_net/provider/api/x_ai/__init__.py +2 -0
- pygpt_net/provider/core/config/patch.py +15 -0
- pygpt_net/provider/core/config/patches/patch_before_2_6_42.py +1 -0
- pygpt_net/provider/llms/anthropic.py +4 -0
- pygpt_net/provider/llms/base.py +2 -0
- pygpt_net/provider/llms/deepseek_api.py +2 -0
- pygpt_net/provider/llms/google.py +2 -0
- pygpt_net/provider/llms/hugging_face_api.py +4 -0
- pygpt_net/provider/llms/hugging_face_router.py +2 -0
- pygpt_net/provider/llms/mistral.py +4 -0
- pygpt_net/provider/llms/perplexity.py +2 -0
- pygpt_net/provider/llms/x_ai.py +2 -0
- pygpt_net/ui/layout/chat/output.py +5 -5
- pygpt_net/ui/widget/dialog/base.py +4 -1
- pygpt_net/ui/widget/textarea/html.py +1 -0
- pygpt_net/ui/widget/textarea/input.py +19 -3
- pygpt_net/ui/widget/textarea/web.py +2 -1
- {pygpt_net-2.6.56.dist-info → pygpt_net-2.6.57.dist-info}/METADATA +10 -2
- {pygpt_net-2.6.56.dist-info → pygpt_net-2.6.57.dist-info}/RECORD +44 -44
- {pygpt_net-2.6.56.dist-info → pygpt_net-2.6.57.dist-info}/LICENSE +0 -0
- {pygpt_net-2.6.56.dist-info → pygpt_net-2.6.57.dist-info}/WHEEL +0 -0
- {pygpt_net-2.6.56.dist-info → pygpt_net-2.6.57.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
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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.
|
|
28
|
+
route.mode.description = url | summary | full (default summary)
|
|
33
29
|
route.save_map.label = Build preview URL (openstreetmap.org)
|
|
34
|
-
|
|
35
|
-
|
|
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
|
-
|
|
11
|
-
|
|
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.
|
|
@@ -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:
|
|
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=
|
|
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
|
|
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": "
|
|
200
|
-
"type": "
|
|
201
|
-
"description": "
|
|
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
|
|
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": "
|
|
214
|
-
"type": "
|
|
215
|
-
"description": "
|
|
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
|
|
321
|
+
instruction="open webpages and get list of all links from it",
|
|
322
322
|
params=[
|
|
323
323
|
{
|
|
324
|
-
"name": "
|
|
325
|
-
"type": "
|
|
326
|
-
"description": "
|
|
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": "
|
|
339
|
-
"type": "
|
|
340
|
-
"description": "
|
|
338
|
+
"name": "urls",
|
|
339
|
+
"type": "list",
|
|
340
|
+
"description": "List of URLs to websites",
|
|
341
341
|
"required": True,
|
|
342
342
|
},
|
|
343
343
|
{
|