pycoze 0.1.71__py3-none-any.whl → 0.1.72__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 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.read_params()
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
@@ -10,7 +10,7 @@ try:
10
10
  from pycoze.utils import utils
11
11
 
12
12
  # 定义数据库连接和初始化
13
- params = utils.arg.read_params()
13
+ params = utils.arg.read_params_file()
14
14
  if params:
15
15
  DATABASE_PATH = params["appPath"] + "/gpu_usage.db"
16
16
  else:
pycoze/utils/__init__.py CHANGED
@@ -1,2 +1,2 @@
1
- from .arg import read_arg, read_params
1
+ from .arg import read_arg, read_params_file
2
2
  from .text_or_file import to_text
pycoze/utils/arg.py CHANGED
@@ -19,7 +19,7 @@ def read_arg(param, is_path=False, posix=True):
19
19
  return value
20
20
 
21
21
 
22
- def read_params():
22
+ def read_params_file():
23
23
  params_file = read_arg("params_file", True)
24
24
  params = None
25
25
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycoze
3
- Version: 0.1.71
3
+ Version: 0.1.72
4
4
  Summary: Package for pycoze only!
5
5
  Author: Yuan Jie Xiong
6
6
  Author-email: aiqqqqqqq@qq.com
@@ -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=jl-1sSgAw59gW4xj1Fyenbr2u1_AOk6WWjEfGQ0r-Ys,2764
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=T-M1w8DiQQNtyNVok9Fj9qXGfTs5mxJp-gw-rxs50es,5410
16
+ pycoze/gpu/gpu_reserve.py,sha256=JEyYh38v_RHolsqcIBoCjI8P-K-Ew3FsEyGhoISYmCQ,5415
17
17
  pycoze/ui/__init__.py,sha256=7xAfL2lfG7-jllPJEZUJO89xUE9sNzvo1y0WmBswjBI,458
18
18
  pycoze/ui/base.py,sha256=NKv_2ev0Z4I_yKvuOZo-R9vmo7WVDZ1oxBS0MN-UhMk,1539
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=KExBkotf23dr2NfTEouWke5nJB1q2IuDXgHrmuyd95k,73
23
- pycoze/utils/arg.py,sha256=AhOobJNjifCf7dKKPZa7AsN7CcZg3OSECUp9TZIrDTI,748
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.71.dist-info/LICENSE,sha256=QStd_Qsd0-kAam_-sOesCIp_uKrGWeoKwt9M49NVkNU,1090
26
- pycoze-0.1.71.dist-info/METADATA,sha256=87LWmW_efwZZoXcUEOYqqJeVTxAdQ-67ytdz6YfUiq8,719
27
- pycoze-0.1.71.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
28
- pycoze-0.1.71.dist-info/top_level.txt,sha256=76dPeDhKvOCleL3ZC5gl1-y4vdS1tT_U1hxWVAn7sFo,7
29
- pycoze-0.1.71.dist-info/RECORD,,
25
+ pycoze-0.1.72.dist-info/LICENSE,sha256=QStd_Qsd0-kAam_-sOesCIp_uKrGWeoKwt9M49NVkNU,1090
26
+ pycoze-0.1.72.dist-info/METADATA,sha256=iftrromI-nW5sB0kYutPzUCyLDVvHQOlGHcfCidI-YI,719
27
+ pycoze-0.1.72.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
28
+ pycoze-0.1.72.dist-info/top_level.txt,sha256=76dPeDhKvOCleL3ZC5gl1-y4vdS1tT_U1hxWVAn7sFo,7
29
+ pycoze-0.1.72.dist-info/RECORD,,