pycoze 0.1.189__tar.gz → 0.1.191__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {pycoze-0.1.189 → pycoze-0.1.191}/PKG-INFO +1 -1
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/ai/vram_reserve.py +1 -1
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/reference/bot.py +3 -3
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/reference/tool.py +1 -1
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze.egg-info/PKG-INFO +1 -1
- {pycoze-0.1.189 → pycoze-0.1.191}/setup.py +1 -1
- {pycoze-0.1.189 → pycoze-0.1.191}/LICENSE +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/README.md +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/__init__.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/ai/__init__.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/automation/__init__.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/automation/browser/__init__.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/automation/browser/edge_driver_manager.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/bot/__init__.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/bot/agent/__init__.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/bot/agent/agent.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/bot/agent/agent_types/__init__.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/bot/agent/agent_types/const.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/bot/agent/agent_types/openai_func_call_agent.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/bot/agent/assistant.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/bot/agent/chat.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/bot/agent_chat.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/bot/bot.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/reference/__init__.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/reference/lib.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/ui/__init__.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/ui/base.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/ui/color.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/ui/typ.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/ui/ui_def.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/utils/__init__.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/utils/arg.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/utils/env.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze/utils/text_or_file.py +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze.egg-info/SOURCES.txt +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze.egg-info/dependency_links.txt +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/pycoze.egg-info/top_level.txt +0 -0
- {pycoze-0.1.189 → pycoze-0.1.191}/setup.cfg +0 -0
@@ -6,7 +6,7 @@ import types
|
|
6
6
|
import langchain_core
|
7
7
|
from .lib import ChangeDirectoryAndPath, ModuleManager, wrapped_func
|
8
8
|
import json
|
9
|
-
from pycoze
|
9
|
+
from pycoze import utils
|
10
10
|
|
11
11
|
bot_index = 0
|
12
12
|
|
@@ -17,9 +17,9 @@ def ref_bot(bot_id, as_agent_tool=False):
|
|
17
17
|
tool_base_path = os.path.join(params["workspacePath"], "bot")
|
18
18
|
module_path = os.path.join(tool_base_path, bot_id)
|
19
19
|
module_path = os.path.normpath(os.path.abspath(module_path))
|
20
|
-
|
20
|
+
|
21
21
|
if not os.path.exists(module_path):
|
22
|
-
print(f"Bot {bot_id} not found")
|
22
|
+
print(f"Bot {bot_id} not found in:"+ module_path)
|
23
23
|
return None
|
24
24
|
|
25
25
|
try:
|
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
|