pygpt-net 2.6.58__py3-none-any.whl → 2.6.60__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 +10 -0
- pygpt_net/__init__.py +3 -3
- pygpt_net/app.py +9 -5
- pygpt_net/controller/__init__.py +1 -0
- pygpt_net/controller/presets/editor.py +442 -39
- pygpt_net/core/agents/custom/__init__.py +275 -0
- pygpt_net/core/agents/custom/debug.py +64 -0
- pygpt_net/core/agents/custom/factory.py +109 -0
- pygpt_net/core/agents/custom/graph.py +71 -0
- pygpt_net/core/agents/custom/llama_index/__init__.py +10 -0
- pygpt_net/core/agents/custom/llama_index/factory.py +89 -0
- pygpt_net/core/agents/custom/llama_index/router_streamer.py +106 -0
- pygpt_net/core/agents/custom/llama_index/runner.py +529 -0
- pygpt_net/core/agents/custom/llama_index/stream.py +56 -0
- pygpt_net/core/agents/custom/llama_index/utils.py +242 -0
- pygpt_net/core/agents/custom/logging.py +50 -0
- pygpt_net/core/agents/custom/memory.py +51 -0
- pygpt_net/core/agents/custom/router.py +116 -0
- pygpt_net/core/agents/custom/router_streamer.py +187 -0
- pygpt_net/core/agents/custom/runner.py +454 -0
- pygpt_net/core/agents/custom/schema.py +125 -0
- pygpt_net/core/agents/custom/utils.py +181 -0
- pygpt_net/core/agents/provider.py +72 -7
- pygpt_net/core/agents/runner.py +7 -4
- pygpt_net/core/agents/runners/helpers.py +1 -1
- pygpt_net/core/agents/runners/llama_workflow.py +3 -0
- pygpt_net/core/agents/runners/openai_workflow.py +8 -1
- pygpt_net/core/filesystem/parser.py +37 -24
- pygpt_net/{ui/widget/builder → core/node_editor}/__init__.py +2 -2
- pygpt_net/core/{builder → node_editor}/graph.py +11 -218
- pygpt_net/core/node_editor/models.py +111 -0
- pygpt_net/core/node_editor/types.py +76 -0
- pygpt_net/core/node_editor/utils.py +17 -0
- pygpt_net/core/render/web/renderer.py +10 -8
- pygpt_net/data/config/config.json +3 -3
- pygpt_net/data/config/models.json +3 -3
- pygpt_net/data/locale/locale.en.ini +4 -4
- pygpt_net/data/locale/plugin.cmd_system.en.ini +68 -0
- pygpt_net/item/agent.py +5 -1
- pygpt_net/item/preset.py +19 -1
- pygpt_net/plugin/cmd_system/config.py +377 -1
- pygpt_net/plugin/cmd_system/plugin.py +52 -8
- pygpt_net/plugin/cmd_system/runner.py +508 -32
- pygpt_net/plugin/cmd_system/winapi.py +481 -0
- pygpt_net/plugin/cmd_system/worker.py +88 -15
- pygpt_net/provider/agents/base.py +33 -2
- pygpt_net/provider/agents/llama_index/flow_from_schema.py +92 -0
- pygpt_net/provider/agents/llama_index/workflow/supervisor.py +0 -0
- pygpt_net/provider/agents/openai/flow_from_schema.py +96 -0
- pygpt_net/provider/core/agent/json_file.py +11 -5
- pygpt_net/provider/llms/openai.py +6 -4
- pygpt_net/tools/agent_builder/tool.py +217 -52
- pygpt_net/tools/agent_builder/ui/dialogs.py +119 -24
- pygpt_net/tools/agent_builder/ui/list.py +37 -10
- pygpt_net/tools/code_interpreter/ui/html.py +2 -1
- pygpt_net/ui/dialog/preset.py +16 -1
- pygpt_net/ui/main.py +1 -1
- pygpt_net/{core/builder → ui/widget/node_editor}/__init__.py +2 -2
- pygpt_net/ui/widget/node_editor/command.py +373 -0
- pygpt_net/ui/widget/node_editor/editor.py +2038 -0
- pygpt_net/ui/widget/node_editor/item.py +492 -0
- pygpt_net/ui/widget/node_editor/node.py +1205 -0
- pygpt_net/ui/widget/node_editor/utils.py +17 -0
- pygpt_net/ui/widget/node_editor/view.py +247 -0
- pygpt_net/ui/widget/textarea/web.py +1 -1
- {pygpt_net-2.6.58.dist-info → pygpt_net-2.6.60.dist-info}/METADATA +135 -61
- {pygpt_net-2.6.58.dist-info → pygpt_net-2.6.60.dist-info}/RECORD +69 -42
- pygpt_net/core/agents/custom.py +0 -150
- pygpt_net/ui/widget/builder/editor.py +0 -2001
- {pygpt_net-2.6.58.dist-info → pygpt_net-2.6.60.dist-info}/LICENSE +0 -0
- {pygpt_net-2.6.58.dist-info → pygpt_net-2.6.60.dist-info}/WHEEL +0 -0
- {pygpt_net-2.6.58.dist-info → pygpt_net-2.6.60.dist-info}/entry_points.txt +0 -0
pygpt_net/CHANGELOG.txt
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
2.6.60 (2025-09-25)
|
|
2
|
+
|
|
3
|
+
- Added a new tool: Agents Builder - allowing visual design of agent workflows using nodes - available in Tools -> Agents Builder (beta).
|
|
4
|
+
|
|
5
|
+
2.6.59 (2025-09-23)
|
|
6
|
+
|
|
7
|
+
- LlamaIndex has been upgraded to v0.13.6.
|
|
8
|
+
- The Responses API is disabled by default in Agents (LlamaIndex) for compatibility.
|
|
9
|
+
- Added WinAPI support to the System (OS) plugin.
|
|
10
|
+
|
|
1
11
|
2.6.58 (2025-09-22)
|
|
2
12
|
|
|
3
13
|
- Added: internal Web Browser tool.
|
pygpt_net/__init__.py
CHANGED
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
# GitHub: https://github.com/szczyglis-dev/py-gpt #
|
|
7
7
|
# MIT License #
|
|
8
8
|
# Created By : Marcin Szczygliński #
|
|
9
|
-
# Updated Date: 2025.09.
|
|
9
|
+
# Updated Date: 2025.09.25 00:00:00 #
|
|
10
10
|
# ================================================== #
|
|
11
11
|
|
|
12
12
|
__author__ = "Marcin Szczygliński"
|
|
13
13
|
__copyright__ = "Copyright 2025, Marcin Szczygliński"
|
|
14
14
|
__credits__ = ["Marcin Szczygliński"]
|
|
15
15
|
__license__ = "MIT"
|
|
16
|
-
__version__ = "2.6.
|
|
17
|
-
__build__ = "2025-09-
|
|
16
|
+
__version__ = "2.6.60"
|
|
17
|
+
__build__ = "2025-09-25"
|
|
18
18
|
__maintainer__ = "Marcin Szczygliński"
|
|
19
19
|
__github__ = "https://github.com/szczyglis-dev/py-gpt"
|
|
20
20
|
__report__ = "https://github.com/szczyglis-dev/py-gpt/issues"
|
pygpt_net/app.py
CHANGED
|
@@ -103,15 +103,15 @@ from pygpt_net.plugin.wolfram import Plugin as WolframPlugin
|
|
|
103
103
|
from pygpt_net.plugin.osm import Plugin as OSMPlugin
|
|
104
104
|
|
|
105
105
|
# agents (Llama-index)
|
|
106
|
-
# from pygpt_net.provider.agents.llama_index.legacy.openai import OpenAIAgent
|
|
107
106
|
from pygpt_net.provider.agents.llama_index.legacy.openai_assistant import OpenAIAssistantAgent
|
|
108
|
-
# from pygpt_net.provider.agents.llama_index.legacy.planner import PlannerAgent
|
|
109
107
|
from pygpt_net.provider.agents.llama_index.planner_workflow import PlannerAgent as PlannerWorkflowAgent
|
|
110
108
|
from pygpt_net.provider.agents.llama_index.openai_workflow import OpenAIAgent as OpenAIWorkflowAgent
|
|
111
|
-
# from pygpt_net.provider.agents.llama_index.legacy.react import ReactAgent
|
|
112
109
|
from pygpt_net.provider.agents.llama_index.react_workflow import ReactWorkflowAgent
|
|
113
110
|
from pygpt_net.provider.agents.llama_index.codeact_workflow import CodeActAgent
|
|
114
111
|
from pygpt_net.provider.agents.llama_index.supervisor_workflow import SupervisorAgent as LlamaSupervisorAgent
|
|
112
|
+
from pygpt_net.provider.agents.llama_index.flow_from_schema import Agent as LlamaCustomAgent # builder schema
|
|
113
|
+
|
|
114
|
+
# agents (OpenAI-Agents)
|
|
115
115
|
from pygpt_net.provider.agents.openai.agent import Agent as OpenAIAgentsBase
|
|
116
116
|
from pygpt_net.provider.agents.openai.agent_with_experts import Agent as OpenAIAgentsExperts
|
|
117
117
|
from pygpt_net.provider.agents.openai.agent_with_experts_feedback import Agent as OpenAIAgentsExpertsFeedback
|
|
@@ -121,6 +121,8 @@ from pygpt_net.provider.agents.openai.agent_planner import Agent as OpenAIAgentP
|
|
|
121
121
|
from pygpt_net.provider.agents.openai.evolve import Agent as OpenAIAgentsEvolve
|
|
122
122
|
from pygpt_net.provider.agents.openai.agent_b2b import Agent as OpenAIAgentsB2B
|
|
123
123
|
from pygpt_net.provider.agents.openai.supervisor import Agent as OpenAIAgentSupervisor
|
|
124
|
+
from pygpt_net.provider.agents.openai.flow_from_schema import Agent as OpenAICustomAgent # builder schema
|
|
125
|
+
|
|
124
126
|
|
|
125
127
|
# LLM wrapper providers (langchain, llama-index, embeddings)
|
|
126
128
|
from pygpt_net.provider.llms.anthropic import AnthropicLLM
|
|
@@ -204,7 +206,7 @@ from pygpt_net.tools.text_editor import TextEditor as TextEditorTool
|
|
|
204
206
|
from pygpt_net.tools.html_canvas import HtmlCanvas as HtmlCanvasTool
|
|
205
207
|
from pygpt_net.tools.translator import Translator as TranslatorTool
|
|
206
208
|
from pygpt_net.tools.web_browser import WebBrowser as WebBrowserTool
|
|
207
|
-
|
|
209
|
+
from pygpt_net.tools.agent_builder import AgentBuilder as AgentBuilderTool
|
|
208
210
|
|
|
209
211
|
def run(**kwargs):
|
|
210
212
|
"""
|
|
@@ -490,6 +492,7 @@ def run(**kwargs):
|
|
|
490
492
|
launcher.add_agent(ReactWorkflowAgent()) # llama-index
|
|
491
493
|
launcher.add_agent(CodeActAgent()) # llama-index
|
|
492
494
|
launcher.add_agent(LlamaSupervisorAgent()) # llama-index
|
|
495
|
+
launcher.add_agent(LlamaCustomAgent()) # llama-index
|
|
493
496
|
launcher.add_agent(OpenAIAgentsBase()) # openai-agents
|
|
494
497
|
launcher.add_agent(OpenAIAgentsExperts()) # openai-agents
|
|
495
498
|
launcher.add_agent(OpenAIAgentFeedback()) # openai-agents
|
|
@@ -499,6 +502,7 @@ def run(**kwargs):
|
|
|
499
502
|
launcher.add_agent(OpenAIAgentsEvolve()) # openai-agents
|
|
500
503
|
launcher.add_agent(OpenAIAgentsB2B()) # openai-agents
|
|
501
504
|
launcher.add_agent(OpenAIAgentSupervisor()) # openai-agents
|
|
505
|
+
launcher.add_agent(OpenAICustomAgent()) # openai-agents
|
|
502
506
|
|
|
503
507
|
# register custom agents
|
|
504
508
|
agents = kwargs.get('agents', None)
|
|
@@ -516,7 +520,7 @@ def run(**kwargs):
|
|
|
516
520
|
launcher.add_tool(HtmlCanvasTool())
|
|
517
521
|
launcher.add_tool(TranslatorTool())
|
|
518
522
|
launcher.add_tool(WebBrowserTool())
|
|
519
|
-
|
|
523
|
+
launcher.add_tool(AgentBuilderTool())
|
|
520
524
|
|
|
521
525
|
# register custom tools
|
|
522
526
|
tools = kwargs.get('tools', None)
|
pygpt_net/controller/__init__.py
CHANGED