hyperpocket 0.5.0__py3-none-any.whl → 0.5.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hyperpocket/tool/function/tool.py +3 -0
- {hyperpocket-0.5.0.dist-info → hyperpocket-0.5.1.dist-info}/METADATA +1 -1
- {hyperpocket-0.5.0.dist-info → hyperpocket-0.5.1.dist-info}/RECORD +5 -5
- {hyperpocket-0.5.0.dist-info → hyperpocket-0.5.1.dist-info}/WHEEL +0 -0
- {hyperpocket-0.5.0.dist-info → hyperpocket-0.5.1.dist-info}/entry_points.txt +0 -0
@@ -121,6 +121,9 @@ class FunctionTool(Tool):
|
|
121
121
|
if tool_vars is None:
|
122
122
|
tool_vars = dict()
|
123
123
|
|
124
|
+
if afunc is None and inspect.iscoroutinefunction(func):
|
125
|
+
afunc = func
|
126
|
+
|
124
127
|
if isinstance(func, FunctionTool):
|
125
128
|
if tool_vars is not None:
|
126
129
|
func.override_tool_variables(tool_vars)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: hyperpocket
|
3
|
-
Version: 0.5.
|
3
|
+
Version: 0.5.1
|
4
4
|
Summary: Building AI agent with hyperpocket tool in a flash
|
5
5
|
Project-URL: Homepage, https://vessl-ai.github.io/hyperpocket
|
6
6
|
Project-URL: Repository, https://github.com/vessl-ai/hyperpocket
|
@@ -586,7 +586,7 @@ hyperpocket/tool/dock/dock.py,sha256=DfHS-2imgJg4VQ2R-cC-wp7r2Dl2n7ZF-GmpRRZdDKg
|
|
586
586
|
hyperpocket/tool/function/README.md,sha256=6Y9a8FlFjEdbrVqF0NoQ1j34VoV8Zt6Pf9-xlLIHkTc,3676
|
587
587
|
hyperpocket/tool/function/__init__.py,sha256=n0IYvfoyoFWv76iwK2kBC-X6468dl5XyYFl1mudYSe4,261
|
588
588
|
hyperpocket/tool/function/annotation.py,sha256=qVBhjFUXY_MXysPN61FJuX4mgVZHuMJTtn0L5QCY4eg,1159
|
589
|
-
hyperpocket/tool/function/tool.py,sha256=
|
589
|
+
hyperpocket/tool/function/tool.py,sha256=p7Bm9_9GAcsvzWve6n1VnIVW4EtesQdOyKmtaZCfGps,7564
|
590
590
|
hyperpocket/util/__init__.py,sha256=7vN8c7dy7nhGhjXtSUGAsc6GIlUnuBMvXSl1yW1M4js,35
|
591
591
|
hyperpocket/util/extract_func_param_desc_from_docstring.py,sha256=eGDrbigmVg1zaud1q5l2WDZkYqzy56TRznNPouc8i_Y,4170
|
592
592
|
hyperpocket/util/find_all_leaf_class_in_package.py,sha256=06n8R47BDPovxhCOnzu9GuEfeQzEbv-HdG-zfMu1gBw,533
|
@@ -597,7 +597,7 @@ hyperpocket/util/get_objects_from_subpackage.py,sha256=4mR_S8eaJSdU68YfCkiXeIcXx
|
|
597
597
|
hyperpocket/util/git_parser.py,sha256=y96nhgZXtRgA_u_0GTPo95PGkpG-n_oMIrkbckdxiR8,2496
|
598
598
|
hyperpocket/util/json_schema_to_model.py,sha256=nc5AmnqkrdeFLELu-7_O9sEAaUaD8_KGlvIMDRobt-4,3751
|
599
599
|
hyperpocket/util/short_hashing_str.py,sha256=ahLUT8iQr-MJVbDJXrSt0cXnnSEeJ8EU3A0PDn6e0gs,119
|
600
|
-
hyperpocket-0.5.
|
601
|
-
hyperpocket-0.5.
|
602
|
-
hyperpocket-0.5.
|
603
|
-
hyperpocket-0.5.
|
600
|
+
hyperpocket-0.5.1.dist-info/METADATA,sha256=pg-5bLmexfszjmU_OB4c96vHKtR6sU2_eo2oycXLA50,13078
|
601
|
+
hyperpocket-0.5.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
602
|
+
hyperpocket-0.5.1.dist-info/entry_points.txt,sha256=KpBleaYr0SaENXOa-dFvJ_cvFCHYFEQ4LMl11ShAcBI,61
|
603
|
+
hyperpocket-0.5.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|