beamlit 0.0.34rc51__py3-none-any.whl → 0.0.34rc52__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
@@ -155,7 +155,7 @@ def agent(
|
|
155
155
|
remote_functions_empty=not remote_functions,
|
156
156
|
)
|
157
157
|
|
158
|
-
|
158
|
+
|
159
159
|
|
160
160
|
if agent is not None:
|
161
161
|
metadata = AgentMetadata(**agent.get("metadata", {}))
|
@@ -211,6 +211,8 @@ def agent(
|
|
211
211
|
toolkit.initialize()
|
212
212
|
functions.extend(toolkit.get_tools())
|
213
213
|
|
214
|
+
settings.agent.functions = functions
|
215
|
+
|
214
216
|
if override_agent is None and len(functions) == 0:
|
215
217
|
raise ValueError(
|
216
218
|
"You must define at least one function, you can define this function in directory "
|
@@ -7,7 +7,7 @@ beamlit/types.py,sha256=E1hhDh_zXfsSQ0NCt9-uw90_Mr5iIlsdfnfvxv5HarU,1005
|
|
7
7
|
beamlit/agents/__init__.py,sha256=nf1iwQwGtCG6nDqyVhxfWoqR6dv6X3bvSpCeqkTCFaM,101
|
8
8
|
beamlit/agents/chain.py,sha256=vfCjiFHuu02uTTGicxMlFzjyICQkIjpXrBGs-7uJEsg,2826
|
9
9
|
beamlit/agents/chat.py,sha256=gVyv4FGBdQTDhdutX8l64OUNa6Fdqaw4eCfEDRH0IPQ,3558
|
10
|
-
beamlit/agents/decorator.py,sha256=
|
10
|
+
beamlit/agents/decorator.py,sha256=7w2rAo0Kg280lpo67byF5vor4qqMtlhuRqziwrSA62s,10629
|
11
11
|
beamlit/api/__init__.py,sha256=zTSiG_ujSjAqWPyc435YXaX9XTlpMjiJWBbV-f-YtdA,45
|
12
12
|
beamlit/api/agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
13
|
beamlit/api/agents/create_agent.py,sha256=t5Pr62My2EhQlcIY71MrI73-0_q5Djr3a_Ybt9MIiQQ,3587
|
@@ -256,6 +256,6 @@ beamlit/serve/app.py,sha256=DXWxQoMeuA5FYvBMyLrP94OEWQbwLf4GZk3I9fkwSPA,3523
|
|
256
256
|
beamlit/serve/middlewares/__init__.py,sha256=1dVmnOmhAQWvWktqHkKSIX-YoF6fmMU8xkUQuhg_rJU,148
|
257
257
|
beamlit/serve/middlewares/accesslog.py,sha256=Mu4T4_9OvHybjA0ApzZFpgi2C8f3X1NbUk-76v634XM,631
|
258
258
|
beamlit/serve/middlewares/processtime.py,sha256=lDAaIasZ4bwvN-HKHvZpaD9r-yrkVNZYx4abvbjbrCg,411
|
259
|
-
beamlit-0.0.
|
260
|
-
beamlit-0.0.
|
261
|
-
beamlit-0.0.
|
259
|
+
beamlit-0.0.34rc52.dist-info/METADATA,sha256=5z-4coIVveGscH6kroJEgJ3SVl1C9nEOkmRV5T38zaU,2405
|
260
|
+
beamlit-0.0.34rc52.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
261
|
+
beamlit-0.0.34rc52.dist-info/RECORD,,
|
File without changes
|