sunholo 0.64.12__py3-none-any.whl → 0.64.15__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/agents/swagger.py +13 -4
- {sunholo-0.64.12.dist-info → sunholo-0.64.15.dist-info}/METADATA +3 -2
- {sunholo-0.64.12.dist-info → sunholo-0.64.15.dist-info}/RECORD +7 -7
- {sunholo-0.64.12.dist-info → sunholo-0.64.15.dist-info}/LICENSE.txt +0 -0
- {sunholo-0.64.12.dist-info → sunholo-0.64.15.dist-info}/WHEEL +0 -0
- {sunholo-0.64.12.dist-info → sunholo-0.64.15.dist-info}/entry_points.txt +0 -0
- {sunholo-0.64.12.dist-info → sunholo-0.64.15.dist-info}/top_level.txt +0 -0
sunholo/agents/swagger.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import yaml
|
|
2
1
|
import copy
|
|
3
|
-
|
|
4
2
|
from ..utils.config import load_all_configs
|
|
5
3
|
from .route import route_vac
|
|
6
4
|
from ..logging import log
|
|
5
|
+
from ruamel.yaml import YAML
|
|
6
|
+
from io import StringIO
|
|
7
7
|
|
|
8
8
|
def config_to_swagger():
|
|
9
9
|
"""
|
|
@@ -214,5 +214,14 @@ def generate_swagger(vac_config, agent_config):
|
|
|
214
214
|
}
|
|
215
215
|
}))
|
|
216
216
|
}
|
|
217
|
-
|
|
218
|
-
|
|
217
|
+
|
|
218
|
+
yaml = YAML()
|
|
219
|
+
yaml.width = 4096 # to avoid breaking urls
|
|
220
|
+
|
|
221
|
+
# Capture YAML output in a string buffer
|
|
222
|
+
string_stream = StringIO()
|
|
223
|
+
yaml.dump(swagger_template, string_stream)
|
|
224
|
+
yaml_string = string_stream.getvalue()
|
|
225
|
+
|
|
226
|
+
return yaml_string
|
|
227
|
+
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sunholo
|
|
3
|
-
Version: 0.64.
|
|
3
|
+
Version: 0.64.15
|
|
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.64.
|
|
6
|
+
Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.64.15.tar.gz
|
|
7
7
|
Author: Holosun ApS
|
|
8
8
|
Author-email: multivac@sunholo.com
|
|
9
9
|
License: Apache License, Version 2.0
|
|
@@ -20,6 +20,7 @@ Description-Content-Type: text/markdown
|
|
|
20
20
|
License-File: LICENSE.txt
|
|
21
21
|
Requires-Dist: google-auth
|
|
22
22
|
Requires-Dist: tenacity ==8.3.0
|
|
23
|
+
Requires-Dist: ruamel.yaml
|
|
23
24
|
Requires-Dist: langchain
|
|
24
25
|
Requires-Dist: langchain-experimental
|
|
25
26
|
Requires-Dist: langchain-community
|
|
@@ -7,7 +7,7 @@ sunholo/agents/langserve.py,sha256=FdhQjorAY2bMn2rpuabNT6bU3uqSKWrl8DjpH3L_V7k,4
|
|
|
7
7
|
sunholo/agents/pubsub.py,sha256=5hbbhbBGyVWRpt2sAGC5FEheYH1mCCwVUhZEB1S7vGg,1337
|
|
8
8
|
sunholo/agents/route.py,sha256=V1HKXTvaNuYgjmT5_QgIQum4O7O0Mw497m6YiMpEzX0,2383
|
|
9
9
|
sunholo/agents/special_commands.py,sha256=ecD5jrBVXo170sdgPILi0m_m_4nRFEv6qKn5zYEvEK8,6494
|
|
10
|
-
sunholo/agents/swagger.py,sha256=
|
|
10
|
+
sunholo/agents/swagger.py,sha256=jxQ-NeKJ5BGQS29SiIbFhS_drb4_R5ahdR3m8-jDzWk,9354
|
|
11
11
|
sunholo/agents/fastapi/__init__.py,sha256=S_pj4_bTUmDGoq_exaREHlOKThi0zTuGT0VZY0YfODQ,88
|
|
12
12
|
sunholo/agents/fastapi/base.py,sha256=clk76cHbUAvU0OYJrRfCWX_5f0ACbhDsIzYBhI3wyoE,2514
|
|
13
13
|
sunholo/agents/fastapi/qna_routes.py,sha256=DgK4Btu5XriOC1JaRQ4G_nWEjJfnQ0J5pyLanF6eF1g,3857
|
|
@@ -104,9 +104,9 @@ sunholo/vertex/__init__.py,sha256=JvHcGFuv6R_nAhY2AdoqqhMpJ5ugeWPZ_svGhWrObBk,13
|
|
|
104
104
|
sunholo/vertex/init.py,sha256=JDMUaBRdednzbKF-5p33qqLit2LMsvgvWW-NRz0AqO0,1801
|
|
105
105
|
sunholo/vertex/memory_tools.py,sha256=8F1iTWnqEK9mX4W5RzCVKIjydIcNp6OFxjn_dtQ3GXo,5379
|
|
106
106
|
sunholo/vertex/safety.py,sha256=3meAX0HyGZYrH7rXPUAHxtI_3w_zoy_RX7Shtkoa660,1275
|
|
107
|
-
sunholo-0.64.
|
|
108
|
-
sunholo-0.64.
|
|
109
|
-
sunholo-0.64.
|
|
110
|
-
sunholo-0.64.
|
|
111
|
-
sunholo-0.64.
|
|
112
|
-
sunholo-0.64.
|
|
107
|
+
sunholo-0.64.15.dist-info/LICENSE.txt,sha256=SdE3QjnD3GEmqqg9EX3TM9f7WmtOzqS1KJve8rhbYmU,11345
|
|
108
|
+
sunholo-0.64.15.dist-info/METADATA,sha256=UatWxIPxsZESpEhCwh2HYJwz5uMwihSnmIdHemO_QBI,6000
|
|
109
|
+
sunholo-0.64.15.dist-info/WHEEL,sha256=cpQTJ5IWu9CdaPViMhC9YzF8gZuS5-vlfoFihTBC86A,91
|
|
110
|
+
sunholo-0.64.15.dist-info/entry_points.txt,sha256=bZuN5AIHingMPt4Ro1b_T-FnQvZ3teBes-3OyO0asl4,49
|
|
111
|
+
sunholo-0.64.15.dist-info/top_level.txt,sha256=wt5tadn5--5JrZsjJz2LceoUvcrIvxjHJe-RxuudxAk,8
|
|
112
|
+
sunholo-0.64.15.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|