sunholo 0.90.2__py3-none-any.whl → 0.90.4__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/flask/vac_routes.py +5 -2
- {sunholo-0.90.2.dist-info → sunholo-0.90.4.dist-info}/METADATA +2 -2
- {sunholo-0.90.2.dist-info → sunholo-0.90.4.dist-info}/RECORD +7 -7
- {sunholo-0.90.2.dist-info → sunholo-0.90.4.dist-info}/WHEEL +1 -1
- {sunholo-0.90.2.dist-info → sunholo-0.90.4.dist-info}/LICENSE.txt +0 -0
- {sunholo-0.90.2.dist-info → sunholo-0.90.4.dist-info}/entry_points.txt +0 -0
- {sunholo-0.90.2.dist-info → sunholo-0.90.4.dist-info}/top_level.txt +0 -0
|
@@ -192,7 +192,7 @@ if __name__ == "__main__":
|
|
|
192
192
|
chat_history=all_input["chat_history"],
|
|
193
193
|
wait_time=all_input["stream_wait_time"],
|
|
194
194
|
timeout=all_input["stream_timeout"],
|
|
195
|
-
trace_id=trace.id,
|
|
195
|
+
trace_id=trace.id if trace else None,
|
|
196
196
|
#kwargs
|
|
197
197
|
**all_input["kwargs"]
|
|
198
198
|
):
|
|
@@ -282,7 +282,7 @@ if __name__ == "__main__":
|
|
|
282
282
|
question=all_input["user_input"],
|
|
283
283
|
vector_name=vector_name,
|
|
284
284
|
chat_history=all_input["chat_history"],
|
|
285
|
-
trace_id=trace.id,
|
|
285
|
+
trace_id=trace.id if trace else None,
|
|
286
286
|
**all_input["kwargs"]
|
|
287
287
|
)
|
|
288
288
|
if span:
|
|
@@ -532,6 +532,9 @@ if __name__ == "__main__":
|
|
|
532
532
|
if 'trace_id' in data:
|
|
533
533
|
trace_id = data.pop('trace_id')
|
|
534
534
|
trace = self.create_langfuse_trace(request, vector_name, trace_id)
|
|
535
|
+
log.info(f"Using existing langfuse trace: {trace_id}")
|
|
536
|
+
else:
|
|
537
|
+
trace = self.create_langfuse_trace(request, vector_name)
|
|
535
538
|
|
|
536
539
|
config, _ = load_config("config/llm_config.yaml")
|
|
537
540
|
vac_configs = config.get("vac")
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sunholo
|
|
3
|
-
Version: 0.90.
|
|
3
|
+
Version: 0.90.4
|
|
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.90.
|
|
6
|
+
Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.90.4.tar.gz
|
|
7
7
|
Author: Holosun ApS
|
|
8
8
|
Author-email: multivac@sunholo.com
|
|
9
9
|
License: Apache License, Version 2.0
|
|
@@ -14,7 +14,7 @@ sunholo/agents/fastapi/qna_routes.py,sha256=lKHkXPmwltu9EH3RMwmD153-J6pE7kWQ4BhB
|
|
|
14
14
|
sunholo/agents/flask/__init__.py,sha256=poJDKMr2qj8qMb99JqCvCPSiEt1tj2tLQ3hKW3f2aVw,107
|
|
15
15
|
sunholo/agents/flask/base.py,sha256=FgSaCODyoTtlstJtsqlLPScdgRUtv9_plxftdzHdVFo,809
|
|
16
16
|
sunholo/agents/flask/qna_routes.py,sha256=uwUD1yrzOPH27m2AXpiQrPk_2VfJOQOM6dAynOWQtoQ,22532
|
|
17
|
-
sunholo/agents/flask/vac_routes.py,sha256=
|
|
17
|
+
sunholo/agents/flask/vac_routes.py,sha256=MLJ55ytBMI-CBScXGAMVLFtxa-FFfkoEiZoL5cAPz5o,23237
|
|
18
18
|
sunholo/archive/__init__.py,sha256=qNHWm5rGPVOlxZBZCpA1wTYPbalizRT7f8X4rs2t290,31
|
|
19
19
|
sunholo/archive/archive.py,sha256=PxVfDtO2_2ZEEbnhXSCbXLdeoHoQVImo4y3Jr2XkCFY,1204
|
|
20
20
|
sunholo/auth/__init__.py,sha256=TeP-OY0XGxYV_8AQcVGoh35bvyWhNUcMRfhuD5l44Sk,91
|
|
@@ -144,9 +144,9 @@ sunholo/vertex/init.py,sha256=1OQwcPBKZYBTDPdyU7IM4X4OmiXLdsNV30C-fee2scQ,2875
|
|
|
144
144
|
sunholo/vertex/memory_tools.py,sha256=q_phxgGX2TG2j2MXNULF2xGzQnQPENwjPN9nZ_A9Gh0,7526
|
|
145
145
|
sunholo/vertex/safety.py,sha256=S9PgQT1O_BQAkcqauWncRJaydiP8Q_Jzmu9gxYfy1VA,2482
|
|
146
146
|
sunholo/vertex/type_dict_to_json.py,sha256=uTzL4o9tJRao4u-gJOFcACgWGkBOtqACmb6ihvCErL8,4694
|
|
147
|
-
sunholo-0.90.
|
|
148
|
-
sunholo-0.90.
|
|
149
|
-
sunholo-0.90.
|
|
150
|
-
sunholo-0.90.
|
|
151
|
-
sunholo-0.90.
|
|
152
|
-
sunholo-0.90.
|
|
147
|
+
sunholo-0.90.4.dist-info/LICENSE.txt,sha256=SdE3QjnD3GEmqqg9EX3TM9f7WmtOzqS1KJve8rhbYmU,11345
|
|
148
|
+
sunholo-0.90.4.dist-info/METADATA,sha256=Zi5cT9oDUXzjMwZSIvfj93fzi22DlXOzpSm2_X-J-Ts,7706
|
|
149
|
+
sunholo-0.90.4.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
|
150
|
+
sunholo-0.90.4.dist-info/entry_points.txt,sha256=bZuN5AIHingMPt4Ro1b_T-FnQvZ3teBes-3OyO0asl4,49
|
|
151
|
+
sunholo-0.90.4.dist-info/top_level.txt,sha256=wt5tadn5--5JrZsjJz2LceoUvcrIvxjHJe-RxuudxAk,8
|
|
152
|
+
sunholo-0.90.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|