pycoze 0.1.147__py3-none-any.whl → 0.1.148__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pycoze/reference/lib.py +2 -1
- {pycoze-0.1.147.dist-info → pycoze-0.1.148.dist-info}/METADATA +1 -1
- {pycoze-0.1.147.dist-info → pycoze-0.1.148.dist-info}/RECORD +6 -6
- {pycoze-0.1.147.dist-info → pycoze-0.1.148.dist-info}/LICENSE +0 -0
- {pycoze-0.1.147.dist-info → pycoze-0.1.148.dist-info}/WHEEL +0 -0
- {pycoze-0.1.147.dist-info → pycoze-0.1.148.dist-info}/top_level.txt +0 -0
pycoze/reference/lib.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import os
|
2
2
|
import sys
|
3
3
|
import importlib
|
4
|
+
import types
|
4
5
|
|
5
6
|
|
6
7
|
class ChangeDirectoryAndPath:
|
@@ -58,7 +59,7 @@ def wrapped_func(item, module_path):
|
|
58
59
|
with ChangeDirectoryAndPath(module_path):
|
59
60
|
result = original_tool_function(*args, **kwargs)
|
60
61
|
try:
|
61
|
-
print(f"{item.name}
|
62
|
+
print(f"{item.name} 调用完毕,结果:", result, type result, isinstance(result, types.GeneratorType))
|
62
63
|
except:
|
63
64
|
pass
|
64
65
|
return result
|
@@ -13,7 +13,7 @@ pycoze/bot/agent/agent_types/const.py,sha256=BfUKPrhAHREoMLHuFNG2bCIEkC1-f7K0LEq
|
|
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
15
|
pycoze/reference/bot.py,sha256=6w8LGBFxLygAMR4UUiItUF3AbClnoyDaSoyPK3V-mIg,2205
|
16
|
-
pycoze/reference/lib.py,sha256=
|
16
|
+
pycoze/reference/lib.py,sha256=6l29w22NAPRbL9uq8JtCro8LH3S91kNHU9JEjHBJQBE,2110
|
17
17
|
pycoze/reference/tool.py,sha256=W-XAa2ppIZET99kJcaU9mgYxsxJEKos9ZSUQA8hbqX0,1526
|
18
18
|
pycoze/ui/__init__.py,sha256=7xAfL2lfG7-jllPJEZUJO89xUE9sNzvo1y0WmBswjBI,458
|
19
19
|
pycoze/ui/base.py,sha256=SCXVDK7PpMaBv6ovvabHcfRq_d2AWM0BRyxpNhuJN5A,1285
|
@@ -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.148.dist-info/LICENSE,sha256=QStd_Qsd0-kAam_-sOesCIp_uKrGWeoKwt9M49NVkNU,1090
|
27
|
+
pycoze-0.1.148.dist-info/METADATA,sha256=z4ijocIjsHLxvJbiUXnaoA7D6z_TiKQY9sAfHkxcCzY,726
|
28
|
+
pycoze-0.1.148.dist-info/WHEEL,sha256=bFJAMchF8aTQGUgMZzHJyDDMPTO3ToJ7x23SLJa1SVo,92
|
29
|
+
pycoze-0.1.148.dist-info/top_level.txt,sha256=76dPeDhKvOCleL3ZC5gl1-y4vdS1tT_U1hxWVAn7sFo,7
|
30
|
+
pycoze-0.1.148.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|