beamlit 0.0.24rc18__py3-none-any.whl → 0.0.24rc19__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
beamlit/agents/decorator.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# Import necessary modules
|
2
2
|
import ast
|
3
3
|
import asyncio
|
4
|
+
import functools
|
4
5
|
import importlib
|
5
6
|
import os
|
6
7
|
from logging import getLogger
|
@@ -94,6 +95,7 @@ def agent(
|
|
94
95
|
def wrapper(func):
|
95
96
|
settings = get_settings()
|
96
97
|
|
98
|
+
@functools.wraps(func)
|
97
99
|
def wrapped(*args, **kwargs):
|
98
100
|
return func(
|
99
101
|
settings.agent.agent,
|
@@ -6,7 +6,7 @@ beamlit/run.py,sha256=y61iDBaR0917ihj5q-cJ_r3BFW1Rn5K_kDAISw5O6aU,1339
|
|
6
6
|
beamlit/types.py,sha256=E1hhDh_zXfsSQ0NCt9-uw90_Mr5iIlsdfnfvxv5HarU,1005
|
7
7
|
beamlit/agents/__init__.py,sha256=nf1iwQwGtCG6nDqyVhxfWoqR6dv6X3bvSpCeqkTCFaM,101
|
8
8
|
beamlit/agents/chat.py,sha256=aI7pObyywRyg3dBpubzHAUWTbTk1nwtxvpY7iIP1RLY,2704
|
9
|
-
beamlit/agents/decorator.py,sha256=
|
9
|
+
beamlit/agents/decorator.py,sha256=VOiCUpGyzXgf2-KRmp4IMA6Y-CcL1NZEax5kXLGt8GY,6516
|
10
10
|
beamlit/api/__init__.py,sha256=zTSiG_ujSjAqWPyc435YXaX9XTlpMjiJWBbV-f-YtdA,45
|
11
11
|
beamlit/api/agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
12
|
beamlit/api/agents/create_agent.py,sha256=HFExosu02JZqZz7I6U6WjN81TERz6p2i8CzQCyiRYXo,4112
|
@@ -298,6 +298,6 @@ beamlit/serve/app.py,sha256=Xoc_A-e9_4U9OZKoKXSc6qc_NTRPuVb6ddAZVENhd34,2617
|
|
298
298
|
beamlit/serve/middlewares/__init__.py,sha256=1dVmnOmhAQWvWktqHkKSIX-YoF6fmMU8xkUQuhg_rJU,148
|
299
299
|
beamlit/serve/middlewares/accesslog.py,sha256=wM52-hcwtO-_hdM1pnsEJzerzJf1MzEyN5m85BdDccE,609
|
300
300
|
beamlit/serve/middlewares/processtime.py,sha256=lDAaIasZ4bwvN-HKHvZpaD9r-yrkVNZYx4abvbjbrCg,411
|
301
|
-
beamlit-0.0.
|
302
|
-
beamlit-0.0.
|
303
|
-
beamlit-0.0.
|
301
|
+
beamlit-0.0.24rc19.dist-info/METADATA,sha256=cQxUjWVuj0HB6PGbJqIf0ajWPV7-MFBRmtZGouQ9z6o,2027
|
302
|
+
beamlit-0.0.24rc19.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
303
|
+
beamlit-0.0.24rc19.dist-info/RECORD,,
|
File without changes
|