pycoze 0.1.71__py3-none-any.whl → 0.1.73__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pycoze/bot/bot.py +1 -1
- pycoze/gpu/gpu_reserve.py +1 -1
- pycoze/ui/base.py +1 -1
- pycoze/utils/__init__.py +1 -1
- pycoze/utils/arg.py +1 -1
- {pycoze-0.1.71.dist-info → pycoze-0.1.73.dist-info}/METADATA +1 -1
- {pycoze-0.1.71.dist-info → pycoze-0.1.73.dist-info}/RECORD +10 -10
- {pycoze-0.1.71.dist-info → pycoze-0.1.73.dist-info}/LICENSE +0 -0
- {pycoze-0.1.71.dist-info → pycoze-0.1.73.dist-info}/WHEEL +0 -0
- {pycoze-0.1.71.dist-info → pycoze-0.1.73.dist-info}/top_level.txt +0 -0
pycoze/bot/bot.py
CHANGED
@@ -6,7 +6,7 @@ from langchain_core.messages import HumanMessage
|
|
6
6
|
from pycoze import utils
|
7
7
|
from pycoze.access.tool_for_bot import import_tools
|
8
8
|
|
9
|
-
params = utils.arg.
|
9
|
+
params = utils.arg.read_params_file()
|
10
10
|
llm_file = params["appPath"] + "/JsonStorage/llm.json"
|
11
11
|
|
12
12
|
|
pycoze/gpu/gpu_reserve.py
CHANGED
pycoze/ui/base.py
CHANGED
@@ -14,7 +14,7 @@ except Exception as e:
|
|
14
14
|
|
15
15
|
|
16
16
|
def get_ui():
|
17
|
-
if params is None:
|
17
|
+
if params is None or "uiData" not in params or "uiRecord" not in params["uiData"]:
|
18
18
|
return {}
|
19
19
|
stack = inspect.stack()
|
20
20
|
stack_files = list(reversed([s.filename.replace("\\", "/") for s in stack]))
|
pycoze/utils/__init__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
from .arg import read_arg,
|
1
|
+
from .arg import read_arg, read_params_file
|
2
2
|
from .text_or_file import to_text
|
pycoze/utils/arg.py
CHANGED
@@ -3,7 +3,7 @@ pycoze/module.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
pycoze/access/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
pycoze/access/tool_for_bot.py,sha256=Nv6XlxcqaLaMVQNDkpcthlqaSxyfHoOfWiTScQXO22Y,2656
|
5
5
|
pycoze/bot/__init__.py,sha256=6HHMxDQVOyZM9dtSjQm9tjGnhj4h7CixD0JOvEwTi48,41
|
6
|
-
pycoze/bot/bot.py,sha256=
|
6
|
+
pycoze/bot/bot.py,sha256=iJ60C5YOiiAwADQAdWlD15uAgPUuSap5O7gaiJaXQ-U,2769
|
7
7
|
pycoze/bot/agent/__init__.py,sha256=YR9vpkEQn1e4937r_xFPJXUCPBEJ0SFzEQDBe2x3-YA,157
|
8
8
|
pycoze/bot/agent/agent.py,sha256=7xnz4a8LDyAVU0O3tS6n7_jSnr_lukQxfNR2znCWoV4,4611
|
9
9
|
pycoze/bot/agent/assistant.py,sha256=QLeWaPi415P9jruYOm8qcIbC94cXXAhJYmLTkyC9NTQ,1267
|
@@ -13,17 +13,17 @@ pycoze/bot/agent/agent_types/openai_func_call_agent.py,sha256=9z884NGi79R1Zz5tIM
|
|
13
13
|
pycoze/bot/agent/agent_types/react_agent.py,sha256=AnjHwHXVwLAm77ndglJGi4rQhqDGWaLuUfl46uZVSzM,6749
|
14
14
|
pycoze/bot/agent/agent_types/react_prompt.py,sha256=jyovokGaPzNIe5bvTRvn0gmsWLx5kpDIPmRwmEMCl-M,2142
|
15
15
|
pycoze/gpu/__init__.py,sha256=cuxwDdz2Oo-VcwZ50FtFtEIJXdqoz2el-n0QpSt_NMc,75
|
16
|
-
pycoze/gpu/gpu_reserve.py,sha256=
|
16
|
+
pycoze/gpu/gpu_reserve.py,sha256=JEyYh38v_RHolsqcIBoCjI8P-K-Ew3FsEyGhoISYmCQ,5415
|
17
17
|
pycoze/ui/__init__.py,sha256=7xAfL2lfG7-jllPJEZUJO89xUE9sNzvo1y0WmBswjBI,458
|
18
|
-
pycoze/ui/base.py,sha256=
|
18
|
+
pycoze/ui/base.py,sha256=FFgiwST08PaaQOQc2-PNTjdoy_YoIWlmwGUWgL4YUdU,1603
|
19
19
|
pycoze/ui/color.py,sha256=cT9Ib8uNzkOKxyW0IwVj46o4LwdB1xgNCj1_Rou9d_4,854
|
20
20
|
pycoze/ui/typ.py,sha256=NpT0FrbHvByOszBZMFtroRp7I7pN-38tYz_zPOPejF4,1723
|
21
21
|
pycoze/ui/ui_def.py,sha256=UhhU_yB3GV9ISbvTWT48hsHPHI250BhMILh6bu5Uioo,4206
|
22
|
-
pycoze/utils/__init__.py,sha256=
|
23
|
-
pycoze/utils/arg.py,sha256=
|
22
|
+
pycoze/utils/__init__.py,sha256=TNJhFfY7JYdLlzuP9GvgxfNXUtbgH_NUUJSqHXCxJn4,78
|
23
|
+
pycoze/utils/arg.py,sha256=kA3KBQzXc2WlH5XbF8kfikfpqljiKaW7oY_GE4Qyffc,753
|
24
24
|
pycoze/utils/text_or_file.py,sha256=gpxZVWt2DW6YiEg_MnMuwg36VNf3TX383QD_1oZNB0Y,551
|
25
|
-
pycoze-0.1.
|
26
|
-
pycoze-0.1.
|
27
|
-
pycoze-0.1.
|
28
|
-
pycoze-0.1.
|
29
|
-
pycoze-0.1.
|
25
|
+
pycoze-0.1.73.dist-info/LICENSE,sha256=QStd_Qsd0-kAam_-sOesCIp_uKrGWeoKwt9M49NVkNU,1090
|
26
|
+
pycoze-0.1.73.dist-info/METADATA,sha256=YzpQkb9bF08UQ9IZbk4fVIcvzeFJWaFT2aRn6DG8Prk,719
|
27
|
+
pycoze-0.1.73.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
28
|
+
pycoze-0.1.73.dist-info/top_level.txt,sha256=76dPeDhKvOCleL3ZC5gl1-y4vdS1tT_U1hxWVAn7sFo,7
|
29
|
+
pycoze-0.1.73.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|