ws-bom-robot-app 0.0.65__py3-none-any.whl → 0.0.66__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.
- ws_bom_robot_app/llm/main.py +2 -4
- {ws_bom_robot_app-0.0.65.dist-info → ws_bom_robot_app-0.0.66.dist-info}/METADATA +1 -1
- {ws_bom_robot_app-0.0.65.dist-info → ws_bom_robot_app-0.0.66.dist-info}/RECORD +5 -5
- {ws_bom_robot_app-0.0.65.dist-info → ws_bom_robot_app-0.0.66.dist-info}/WHEEL +0 -0
- {ws_bom_robot_app-0.0.65.dist-info → ws_bom_robot_app-0.0.66.dist-info}/top_level.txt +0 -0
ws_bom_robot_app/llm/main.py
CHANGED
|
@@ -99,15 +99,13 @@ async def __stream(rq: StreamRequest, ctx: Request, queue: Queue,formatted: bool
|
|
|
99
99
|
rules=rq.rules
|
|
100
100
|
)
|
|
101
101
|
if rq.secrets.get("nebulyApiKey","") != "":
|
|
102
|
-
user_id = None
|
|
103
|
-
if rq.system_context.user.id:
|
|
104
|
-
user_id = rq.system_context.user.id
|
|
102
|
+
user_id = rq.system_context.user.id if rq.system_context and rq.system_context.user and rq.system_context.user.id else None
|
|
105
103
|
nebuly_callback = NebulyHandler(
|
|
106
104
|
llm_model=__llm.config.model,
|
|
107
105
|
threadId=rq.thread_id,
|
|
108
106
|
url=config.NEBULY_API_URL,
|
|
109
107
|
api_key=rq.secrets.get("nebulyApiKey", None),
|
|
110
|
-
user_id=user_id
|
|
108
|
+
user_id=user_id
|
|
111
109
|
)
|
|
112
110
|
callbacks.append(nebuly_callback)
|
|
113
111
|
|
|
@@ -12,7 +12,7 @@ ws_bom_robot_app/llm/agent_handler.py,sha256=-9ia0bpNXgqLGFCSmAiU5ogdoJo30yl-XUN
|
|
|
12
12
|
ws_bom_robot_app/llm/agent_lcel.py,sha256=e1ZELfUEpqMXJwLWxyOtgiUmVwoO3Aw-ua4u05XociA,2297
|
|
13
13
|
ws_bom_robot_app/llm/api.py,sha256=2bF-UFczY9LuBqPxKObM0TOWYbZgVztX1RiIz5MSorU,5042
|
|
14
14
|
ws_bom_robot_app/llm/defaut_prompt.py,sha256=D9dn8yPveu0bVwGM1wQWLYftmBs5O76o0R_caLLll8w,1121
|
|
15
|
-
ws_bom_robot_app/llm/main.py,sha256=
|
|
15
|
+
ws_bom_robot_app/llm/main.py,sha256=jgnasDV1HlaO9THl8eCqEgOiX9x3eNFdZ1GZWyF3vg8,5358
|
|
16
16
|
ws_bom_robot_app/llm/nebuly_handler.py,sha256=MV4IqFcKv9lrBEAHYZsMkrYH8gpLNpujRcDji_GsnE8,8081
|
|
17
17
|
ws_bom_robot_app/llm/settings.py,sha256=DCLaGZwxlw0xE46LpfUgin_FHD8_XJIthCgI6r2UDlM,121
|
|
18
18
|
ws_bom_robot_app/llm/feedbacks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -66,7 +66,7 @@ ws_bom_robot_app/llm/vector_store/loader/__init__.py,sha256=47DEQpj8HBSa-_TImW-5
|
|
|
66
66
|
ws_bom_robot_app/llm/vector_store/loader/base.py,sha256=L_ugekNuAq0N9O-24wtlHSNHkqSeD-KsJrfGt_FX9Oc,5340
|
|
67
67
|
ws_bom_robot_app/llm/vector_store/loader/docling.py,sha256=yP0zgXLeFAlByaYuj-6cYariuknckrFds0dxdRcnVz8,3456
|
|
68
68
|
ws_bom_robot_app/llm/vector_store/loader/json_loader.py,sha256=LDppW0ZATo4_1hh-KlsAM3TLawBvwBxva_a7k5Oz1sc,858
|
|
69
|
-
ws_bom_robot_app-0.0.
|
|
70
|
-
ws_bom_robot_app-0.0.
|
|
71
|
-
ws_bom_robot_app-0.0.
|
|
72
|
-
ws_bom_robot_app-0.0.
|
|
69
|
+
ws_bom_robot_app-0.0.66.dist-info/METADATA,sha256=Xykz3vaSCyj0lXUJeQtCphutsIHS-UBQHRpf7Jdk4mo,8497
|
|
70
|
+
ws_bom_robot_app-0.0.66.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
71
|
+
ws_bom_robot_app-0.0.66.dist-info/top_level.txt,sha256=Yl0akyHVbynsBX_N7wx3H3ZTkcMLjYyLJs5zBMDAKcM,17
|
|
72
|
+
ws_bom_robot_app-0.0.66.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|