pycoze 0.1.143__py3-none-any.whl → 0.1.146__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pycoze/reference/bot.py +2 -0
- pycoze/reference/tool.py +2 -0
- {pycoze-0.1.143.dist-info → pycoze-0.1.146.dist-info}/METADATA +1 -1
- {pycoze-0.1.143.dist-info → pycoze-0.1.146.dist-info}/RECORD +7 -7
- {pycoze-0.1.143.dist-info → pycoze-0.1.146.dist-info}/WHEEL +1 -1
- {pycoze-0.1.143.dist-info → pycoze-0.1.146.dist-info}/LICENSE +0 -0
- {pycoze-0.1.143.dist-info → pycoze-0.1.146.dist-info}/top_level.txt +0 -0
pycoze/reference/bot.py
CHANGED
@@ -51,6 +51,8 @@ def {random_name}(command:str) -> str:
|
|
51
51
|
exec(function_code)
|
52
52
|
tool = to_agent_tool(eval(random_name))
|
53
53
|
tool.func = wrapped_func(tool, module_path)
|
54
|
+
if tool.description is None:
|
55
|
+
tool.description = "This tool is used to " + tool.name + "."
|
54
56
|
return tool
|
55
57
|
except Exception as e:
|
56
58
|
print(f"Error loading bot {bot_id}: {e}")
|
pycoze/reference/tool.py
CHANGED
@@ -12,9 +12,9 @@ pycoze/bot/agent/agent_types/__init__.py,sha256=zmU2Kmrv5mCdfg-QlPn2H6pWxbGeq8s7
|
|
12
12
|
pycoze/bot/agent/agent_types/const.py,sha256=BfUKPrhAHREoMLHuFNG2bCIEkC1-f7K0LEqNg4RwiRE,70
|
13
13
|
pycoze/bot/agent/agent_types/openai_func_call_agent.py,sha256=SnEm5MODHn2uMsaMNqgzULM_91vqLHC0TU6ovwCOqLU,6675
|
14
14
|
pycoze/reference/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
15
|
-
pycoze/reference/bot.py,sha256=
|
15
|
+
pycoze/reference/bot.py,sha256=UMnDxCe_E3pz77Pw3my1be7SwcrIi9qhQLESZu8Q4M0,2152
|
16
16
|
pycoze/reference/lib.py,sha256=sp3PqvsyE3OjSqgnykyaz_JARwelMGq44NQUU1x7IV4,2045
|
17
|
-
pycoze/reference/tool.py,sha256=
|
17
|
+
pycoze/reference/tool.py,sha256=tieFKJkWW65zP4ld5Vtcrz66Is21QOh-XAZD6rs_ol8,1446
|
18
18
|
pycoze/ui/__init__.py,sha256=7xAfL2lfG7-jllPJEZUJO89xUE9sNzvo1y0WmBswjBI,458
|
19
19
|
pycoze/ui/base.py,sha256=SCXVDK7PpMaBv6ovvabHcfRq_d2AWM0BRyxpNhuJN5A,1285
|
20
20
|
pycoze/ui/color.py,sha256=cT9Ib8uNzkOKxyW0IwVj46o4LwdB1xgNCj1_Rou9d_4,854
|
@@ -23,8 +23,8 @@ pycoze/ui/ui_def.py,sha256=UhhU_yB3GV9ISbvTWT48hsHPHI250BhMILh6bu5Uioo,4206
|
|
23
23
|
pycoze/utils/__init__.py,sha256=ET0W5wzq4zlY3dr1wHVbbeRKlKdC_zqHt9b0jZyHohw,94
|
24
24
|
pycoze/utils/arg.py,sha256=orLVEGw3x2f3l7bZDbBPkkdDPSdqXo-_Rs-4ZhzmrEw,984
|
25
25
|
pycoze/utils/text_or_file.py,sha256=gpxZVWt2DW6YiEg_MnMuwg36VNf3TX383QD_1oZNB0Y,551
|
26
|
-
pycoze-0.1.
|
27
|
-
pycoze-0.1.
|
28
|
-
pycoze-0.1.
|
29
|
-
pycoze-0.1.
|
30
|
-
pycoze-0.1.
|
26
|
+
pycoze-0.1.146.dist-info/LICENSE,sha256=QStd_Qsd0-kAam_-sOesCIp_uKrGWeoKwt9M49NVkNU,1090
|
27
|
+
pycoze-0.1.146.dist-info/METADATA,sha256=kwGock8TR0QWHQbZ8dhcaPc6mjjd43BuPR_s0Q4VY1o,726
|
28
|
+
pycoze-0.1.146.dist-info/WHEEL,sha256=bFJAMchF8aTQGUgMZzHJyDDMPTO3ToJ7x23SLJa1SVo,92
|
29
|
+
pycoze-0.1.146.dist-info/top_level.txt,sha256=76dPeDhKvOCleL3ZC5gl1-y4vdS1tT_U1hxWVAn7sFo,7
|
30
|
+
pycoze-0.1.146.dist-info/RECORD,,
|
File without changes
|
File without changes
|