beamlit 0.0.44rc90__py3-none-any.whl → 0.0.45__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.
- beamlit/functions/common.py +6 -0
- beamlit/functions/mcp/mcp.py +1 -0
- {beamlit-0.0.44rc90.dist-info → beamlit-0.0.45.dist-info}/METADATA +1 -1
- {beamlit-0.0.44rc90.dist-info → beamlit-0.0.45.dist-info}/RECORD +6 -6
- {beamlit-0.0.44rc90.dist-info → beamlit-0.0.45.dist-info}/WHEEL +0 -0
- {beamlit-0.0.44rc90.dist-info → beamlit-0.0.45.dist-info}/licenses/LICENSE +0 -0
beamlit/functions/common.py
CHANGED
@@ -3,6 +3,8 @@ import ast
|
|
3
3
|
import asyncio
|
4
4
|
import importlib.util
|
5
5
|
import os
|
6
|
+
import traceback
|
7
|
+
|
6
8
|
from logging import getLogger
|
7
9
|
from typing import Union
|
8
10
|
|
@@ -132,6 +134,10 @@ def get_functions(
|
|
132
134
|
toolkit.initialize()
|
133
135
|
functions.extend(toolkit.get_tools())
|
134
136
|
except Exception as e:
|
137
|
+
logger.debug(
|
138
|
+
f"Failed to initialize remote function {function}: {e!s}\n"
|
139
|
+
f"Traceback:\n{traceback.format_exc()}"
|
140
|
+
)
|
135
141
|
logger.warn(f"Failed to initialize remote function {function}: {e!s}")
|
136
142
|
|
137
143
|
if chain:
|
beamlit/functions/mcp/mcp.py
CHANGED
@@ -143,9 +143,9 @@ beamlit/deploy/deploy.py,sha256=J5VvXWeyIyz6CWy2ctld28T7sVfas-kiJZ1nx6Zw7t0,1037
|
|
143
143
|
beamlit/deploy/format.py,sha256=U6UZEFAYLnGJJ7O2YmSdlUUFhnWNGAv6NZ-DW4KTgvI,2049
|
144
144
|
beamlit/deploy/parser.py,sha256=Ga0poCZkoRnuTw082QnTcNGCBJncoRAnVsn8-1FsaJE,6907
|
145
145
|
beamlit/functions/__init__.py,sha256=oejZ6GVd4-2kGKsOwRUq1u2AuSyrrn9kWIuH6WxMqhE,189
|
146
|
-
beamlit/functions/common.py,sha256=
|
146
|
+
beamlit/functions/common.py,sha256=oOue0rbxik6W1EPrfBx_TOqxg7OtjqagPAwgq8nJUtM,7220
|
147
147
|
beamlit/functions/decorator.py,sha256=ZtSQsPLI70WKwi2jPhA7DaqREQUINpqt9BDVugeV_sg,1714
|
148
|
-
beamlit/functions/mcp/mcp.py,sha256=
|
148
|
+
beamlit/functions/mcp/mcp.py,sha256=_qN1PL_rKbLR9tO8bDhtbGYNwF7NX9xln53wMzHERC0,4862
|
149
149
|
beamlit/functions/remote/remote.py,sha256=pY7gsmonkH8iN1anscMIWX-tW__OaBw14bodSUy1lCE,4845
|
150
150
|
beamlit/models/__init__.py,sha256=DB2EBTVX5lTO7CzXvZaqiPtgc9n8SMPu59zGD5_Vvno,9652
|
151
151
|
beamlit/models/acl.py,sha256=tH67gsl_BMaviSbTaaIkO1g9cWZgJ6VgAnYVjQSzGZY,3952
|
@@ -278,7 +278,7 @@ beamlit/serve/app.py,sha256=ROS_tb9cO4GvOQKCwloyAzpYraTdIb3oG6sChXikeNw,3285
|
|
278
278
|
beamlit/serve/middlewares/__init__.py,sha256=1dVmnOmhAQWvWktqHkKSIX-YoF6fmMU8xkUQuhg_rJU,148
|
279
279
|
beamlit/serve/middlewares/accesslog.py,sha256=Mu4T4_9OvHybjA0ApzZFpgi2C8f3X1NbUk-76v634XM,631
|
280
280
|
beamlit/serve/middlewares/processtime.py,sha256=lDAaIasZ4bwvN-HKHvZpaD9r-yrkVNZYx4abvbjbrCg,411
|
281
|
-
beamlit-0.0.
|
282
|
-
beamlit-0.0.
|
283
|
-
beamlit-0.0.
|
284
|
-
beamlit-0.0.
|
281
|
+
beamlit-0.0.45.dist-info/METADATA,sha256=8AYfByXJW2vJdLvtw8lRtRdWzP63JDB-z8zVrx1CXig,3733
|
282
|
+
beamlit-0.0.45.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
283
|
+
beamlit-0.0.45.dist-info/licenses/LICENSE,sha256=p5PNQvpvyDT_0aYBDgmV1fFI_vAD2aSV0wWG7VTgRis,1069
|
284
|
+
beamlit-0.0.45.dist-info/RECORD,,
|
File without changes
|
File without changes
|