sunholo 0.84.9__py3-none-any.whl → 0.84.11__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.
- sunholo/genai/process_funcs_cls.py +7 -2
- {sunholo-0.84.9.dist-info → sunholo-0.84.11.dist-info}/METADATA +2 -2
- {sunholo-0.84.9.dist-info → sunholo-0.84.11.dist-info}/RECORD +7 -7
- {sunholo-0.84.9.dist-info → sunholo-0.84.11.dist-info}/LICENSE.txt +0 -0
- {sunholo-0.84.9.dist-info → sunholo-0.84.11.dist-info}/WHEEL +0 -0
- {sunholo-0.84.9.dist-info → sunholo-0.84.11.dist-info}/entry_points.txt +0 -0
- {sunholo-0.84.9.dist-info → sunholo-0.84.11.dist-info}/top_level.txt +0 -0
|
@@ -233,8 +233,13 @@ class GenAIFunctionProcessor:
|
|
|
233
233
|
|
|
234
234
|
fns = list(self.funcs.keys())
|
|
235
235
|
|
|
236
|
-
|
|
237
|
-
|
|
236
|
+
if fns and mode == "any":
|
|
237
|
+
return content_types.to_tool_config(
|
|
238
|
+
{"function_calling_config": {"mode": mode, "allowed_function_names": fns}}
|
|
239
|
+
)
|
|
240
|
+
else:
|
|
241
|
+
return content_types.to_tool_config(
|
|
242
|
+
{"function_calling_config": {"mode": mode}}
|
|
238
243
|
)
|
|
239
244
|
|
|
240
245
|
def get_model(
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sunholo
|
|
3
|
-
Version: 0.84.
|
|
3
|
+
Version: 0.84.11
|
|
4
4
|
Summary: Large Language Model DevOps - a package to help deploy LLMs to the Cloud.
|
|
5
5
|
Home-page: https://github.com/sunholo-data/sunholo-py
|
|
6
|
-
Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.84.
|
|
6
|
+
Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.84.11.tar.gz
|
|
7
7
|
Author: Holosun ApS
|
|
8
8
|
Author-email: multivac@sunholo.com
|
|
9
9
|
License: Apache License, Version 2.0
|
|
@@ -83,7 +83,7 @@ sunholo/gcs/download_folder.py,sha256=ijJTnS595JqZhBH8iHFErQilMbkuKgL-bnTCMLGuvl
|
|
|
83
83
|
sunholo/gcs/download_url.py,sha256=q1NiJSvEhdNrmU5ZJ-sBCMC_J5CxzrajY8LRgdPOV_M,6130
|
|
84
84
|
sunholo/gcs/metadata.py,sha256=oQLcXi4brsZ74aegWyC1JZmhlaEV270HS5_UWtAYYWE,898
|
|
85
85
|
sunholo/genai/__init__.py,sha256=o2c17UbgzIDxNKKF8deCLoctNpatAYgm9Cf9XDfpqvg,87
|
|
86
|
-
sunholo/genai/process_funcs_cls.py,sha256=
|
|
86
|
+
sunholo/genai/process_funcs_cls.py,sha256=xnSxGGEHO7fYct8VkjaOKSBmHG-cEkvFTZqFLsN_oCc,11798
|
|
87
87
|
sunholo/genai/safety.py,sha256=mkFDO_BeEgiKjQd9o2I4UxB6XI7a9U-oOFjZ8LGRUC4,1238
|
|
88
88
|
sunholo/invoke/__init__.py,sha256=bELcqIjzKvaupcIN5OQmDgGx_8jARtH9T6PCe8UgcvE,99
|
|
89
89
|
sunholo/invoke/async_class.py,sha256=J-qMgarhdi6nPQyOIFM5k0wF7nqr8aJGaz99-Ye6XGQ,3507
|
|
@@ -138,9 +138,9 @@ sunholo/vertex/init.py,sha256=1OQwcPBKZYBTDPdyU7IM4X4OmiXLdsNV30C-fee2scQ,2875
|
|
|
138
138
|
sunholo/vertex/memory_tools.py,sha256=q_phxgGX2TG2j2MXNULF2xGzQnQPENwjPN9nZ_A9Gh0,7526
|
|
139
139
|
sunholo/vertex/safety.py,sha256=S9PgQT1O_BQAkcqauWncRJaydiP8Q_Jzmu9gxYfy1VA,2482
|
|
140
140
|
sunholo/vertex/type_dict_to_json.py,sha256=uTzL4o9tJRao4u-gJOFcACgWGkBOtqACmb6ihvCErL8,4694
|
|
141
|
-
sunholo-0.84.
|
|
142
|
-
sunholo-0.84.
|
|
143
|
-
sunholo-0.84.
|
|
144
|
-
sunholo-0.84.
|
|
145
|
-
sunholo-0.84.
|
|
146
|
-
sunholo-0.84.
|
|
141
|
+
sunholo-0.84.11.dist-info/LICENSE.txt,sha256=SdE3QjnD3GEmqqg9EX3TM9f7WmtOzqS1KJve8rhbYmU,11345
|
|
142
|
+
sunholo-0.84.11.dist-info/METADATA,sha256=RvW8QNW0Wr4RzLiPFpT3tmBHbF44W-wohn2jrsGgxYs,7414
|
|
143
|
+
sunholo-0.84.11.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
|
|
144
|
+
sunholo-0.84.11.dist-info/entry_points.txt,sha256=bZuN5AIHingMPt4Ro1b_T-FnQvZ3teBes-3OyO0asl4,49
|
|
145
|
+
sunholo-0.84.11.dist-info/top_level.txt,sha256=wt5tadn5--5JrZsjJz2LceoUvcrIvxjHJe-RxuudxAk,8
|
|
146
|
+
sunholo-0.84.11.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|