sunholo 0.112.6__py3-none-any.whl → 0.113.0__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 +4 -2
- {sunholo-0.112.6.dist-info → sunholo-0.113.0.dist-info}/METADATA +2 -2
- {sunholo-0.112.6.dist-info → sunholo-0.113.0.dist-info}/RECORD +7 -7
- {sunholo-0.112.6.dist-info → sunholo-0.113.0.dist-info}/LICENSE.txt +0 -0
- {sunholo-0.112.6.dist-info → sunholo-0.113.0.dist-info}/WHEEL +0 -0
- {sunholo-0.112.6.dist-info → sunholo-0.113.0.dist-info}/entry_points.txt +0 -0
- {sunholo-0.112.6.dist-info → sunholo-0.113.0.dist-info}/top_level.txt +0 -0
|
@@ -620,7 +620,9 @@ class GenAIFunctionProcessor:
|
|
|
620
620
|
this_text += token
|
|
621
621
|
|
|
622
622
|
if this_text:
|
|
623
|
-
content.append(f"Agent: {this_text}")
|
|
623
|
+
#content.append(f"Agent: {this_text}")
|
|
624
|
+
# update content relying on gemini chat history instead
|
|
625
|
+
content = [f"Agent:\n{this_text}"]
|
|
624
626
|
# if text includes gs:// try to download it
|
|
625
627
|
image_uploads = extract_gs_images_and_genai_upload(this_text)
|
|
626
628
|
if image_uploads:
|
|
@@ -632,7 +634,7 @@ class GenAIFunctionProcessor:
|
|
|
632
634
|
big_result.append(this_text)
|
|
633
635
|
else:
|
|
634
636
|
log.warning(f"[{guardrail}] No content created this loop")
|
|
635
|
-
content
|
|
637
|
+
content = [f"Agent: ERROR - No response was found for loop [{guardrail}]"]
|
|
636
638
|
|
|
637
639
|
token_queue.append(f"\n----Loop [{guardrail}] End------\n{usage_metadata}\n----------------------")
|
|
638
640
|
loop_span.end(output=content, metadata=loop_metadata) if loop_span else None
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sunholo
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.113.0
|
|
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.
|
|
6
|
+
Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.113.0.tar.gz
|
|
7
7
|
Author: Holosun ApS
|
|
8
8
|
Author-email: multivac@sunholo.com
|
|
9
9
|
License: Apache License, Version 2.0
|
|
@@ -89,7 +89,7 @@ sunholo/genai/__init__.py,sha256=6SWK7uV5F625J-P3xQoD6WKL59a9RSaidj-Guslyt8Q,192
|
|
|
89
89
|
sunholo/genai/file_handling.py,sha256=Z3E7TR1DnP9WnneeEGC8LcT6k-9GFxwXDPaVZWw8HLE,8366
|
|
90
90
|
sunholo/genai/images.py,sha256=EyjsDqt6XQw99pZUQamomCpMOoIah9bp3XY94WPU7Ms,1678
|
|
91
91
|
sunholo/genai/init.py,sha256=yG8E67TduFCTQPELo83OJuWfjwTnGZsyACospahyEaY,687
|
|
92
|
-
sunholo/genai/process_funcs_cls.py,sha256=
|
|
92
|
+
sunholo/genai/process_funcs_cls.py,sha256=eN6pzNcoPdM-0MhY3-ls94QYVCY_siif-Mf4A0ZHDGM,31905
|
|
93
93
|
sunholo/genai/safety.py,sha256=mkFDO_BeEgiKjQd9o2I4UxB6XI7a9U-oOFjZ8LGRUC4,1238
|
|
94
94
|
sunholo/invoke/__init__.py,sha256=o1RhwBGOtVK0MIdD55fAIMCkJsxTksi8GD5uoqVKI-8,184
|
|
95
95
|
sunholo/invoke/async_class.py,sha256=G8vD2H94fpBc37mSJSQODEKJ67P2mPQEHabtDaLOvxE,8033
|
|
@@ -150,9 +150,9 @@ sunholo/vertex/init.py,sha256=1OQwcPBKZYBTDPdyU7IM4X4OmiXLdsNV30C-fee2scQ,2875
|
|
|
150
150
|
sunholo/vertex/memory_tools.py,sha256=tBZxqVZ4InTmdBvLlOYwoSEWu4-kGquc-gxDwZCC4FA,7667
|
|
151
151
|
sunholo/vertex/safety.py,sha256=S9PgQT1O_BQAkcqauWncRJaydiP8Q_Jzmu9gxYfy1VA,2482
|
|
152
152
|
sunholo/vertex/type_dict_to_json.py,sha256=uTzL4o9tJRao4u-gJOFcACgWGkBOtqACmb6ihvCErL8,4694
|
|
153
|
-
sunholo-0.
|
|
154
|
-
sunholo-0.
|
|
155
|
-
sunholo-0.
|
|
156
|
-
sunholo-0.
|
|
157
|
-
sunholo-0.
|
|
158
|
-
sunholo-0.
|
|
153
|
+
sunholo-0.113.0.dist-info/LICENSE.txt,sha256=SdE3QjnD3GEmqqg9EX3TM9f7WmtOzqS1KJve8rhbYmU,11345
|
|
154
|
+
sunholo-0.113.0.dist-info/METADATA,sha256=irVzdvFP7tWhS8LJ8rV8AizgTSUGJ6kzcS5E_V9CCi0,8786
|
|
155
|
+
sunholo-0.113.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
156
|
+
sunholo-0.113.0.dist-info/entry_points.txt,sha256=bZuN5AIHingMPt4Ro1b_T-FnQvZ3teBes-3OyO0asl4,49
|
|
157
|
+
sunholo-0.113.0.dist-info/top_level.txt,sha256=wt5tadn5--5JrZsjJz2LceoUvcrIvxjHJe-RxuudxAk,8
|
|
158
|
+
sunholo-0.113.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|