llama-deploy-appserver 0.3.5__py3-none-any.whl → 0.3.6__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.
- llama_deploy/appserver/app.py +2 -3
- {llama_deploy_appserver-0.3.5.dist-info → llama_deploy_appserver-0.3.6.dist-info}/METADATA +3 -3
- {llama_deploy_appserver-0.3.5.dist-info → llama_deploy_appserver-0.3.6.dist-info}/RECORD +4 -4
- {llama_deploy_appserver-0.3.5.dist-info → llama_deploy_appserver-0.3.6.dist-info}/WHEEL +0 -0
llama_deploy/appserver/app.py
CHANGED
|
@@ -40,7 +40,6 @@ from llama_deploy.appserver.workflow_loader import (
|
|
|
40
40
|
)
|
|
41
41
|
from llama_deploy.core.config import DEFAULT_DEPLOYMENT_FILE_PATH
|
|
42
42
|
from prometheus_fastapi_instrumentator import Instrumentator
|
|
43
|
-
from starlette.applications import Starlette
|
|
44
43
|
from workflows.server import WorkflowServer
|
|
45
44
|
|
|
46
45
|
from .deployment import Deployment
|
|
@@ -95,7 +94,7 @@ async def lifespan(app: FastAPI) -> AsyncGenerator[None, Any]:
|
|
|
95
94
|
|
|
96
95
|
apiserver_state.state("running")
|
|
97
96
|
# terrible sad cludge
|
|
98
|
-
async with server.
|
|
97
|
+
async with server.contextmanager():
|
|
99
98
|
yield
|
|
100
99
|
|
|
101
100
|
apiserver_state.state("stopped")
|
|
@@ -214,7 +213,7 @@ def start_server(
|
|
|
214
213
|
host=settings.host,
|
|
215
214
|
port=settings.port,
|
|
216
215
|
reload=reload,
|
|
217
|
-
timeout_graceful_shutdown=
|
|
216
|
+
timeout_graceful_shutdown=1,
|
|
218
217
|
access_log=False,
|
|
219
218
|
log_config=None,
|
|
220
219
|
)
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: llama-deploy-appserver
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.6
|
|
4
4
|
Summary: Application server components for LlamaDeploy
|
|
5
5
|
Author: Massimiliano Pippi, Adrian Lyjak
|
|
6
6
|
Author-email: Massimiliano Pippi <mpippi@gmail.com>, Adrian Lyjak <adrianlyjak@gmail.com>
|
|
7
7
|
License: MIT
|
|
8
|
-
Requires-Dist: llama-index-workflows[server]>=2.
|
|
8
|
+
Requires-Dist: llama-index-workflows[server]>=2.3.0
|
|
9
9
|
Requires-Dist: pydantic-settings>=2.10.1
|
|
10
10
|
Requires-Dist: fastapi>=0.100.0
|
|
11
11
|
Requires-Dist: websockets>=12.0
|
|
12
|
-
Requires-Dist: llama-deploy-core>=0.3.
|
|
12
|
+
Requires-Dist: llama-deploy-core>=0.3.6,<0.4.0
|
|
13
13
|
Requires-Dist: httpx>=0.24.0,<1.0.0
|
|
14
14
|
Requires-Dist: prometheus-fastapi-instrumentator>=7.1.0
|
|
15
15
|
Requires-Dist: packaging>=25.0
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
llama_deploy/appserver/__init__.py,sha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855,0
|
|
2
|
-
llama_deploy/appserver/app.py,sha256=
|
|
2
|
+
llama_deploy/appserver/app.py,sha256=2a44039fd3ea017095894a35eea1c7b906f26f35268ef84da94d9dab1b24cc4c,9461
|
|
3
3
|
llama_deploy/appserver/bootstrap.py,sha256=fa32be007f18b4b3af92c878bac417416c9afb09b1beddf51b5cd73115e6b7c6,2453
|
|
4
4
|
llama_deploy/appserver/configure_logging.py,sha256=194dd1ebed3c1d9065d9174f7828d557a577eaac8fb0443b3102430b1f578c19,6329
|
|
5
5
|
llama_deploy/appserver/correlation_id.py,sha256=8ac5bc6160c707b93a9fb818b64dd369a4ef7a53f9f91a6b3d90c4cf446f7327,572
|
|
@@ -19,6 +19,6 @@ llama_deploy/appserver/workflow_loader.py,sha256=aa06b3cdc9cdbf7e4c58c1b5bbd2802
|
|
|
19
19
|
llama_deploy/appserver/workflow_store/agent_data_store.py,sha256=7b8d1b8cb6f741ff631d668fc955ca76a82e8da0bf8a27ee3bc9a8ef71123701,3594
|
|
20
20
|
llama_deploy/appserver/workflow_store/keyed_lock.py,sha256=bb1504d9de09d51a8f60721cc77b14d4051ac5a897ace6f9d9cba494f068465e,950
|
|
21
21
|
llama_deploy/appserver/workflow_store/lru_cache.py,sha256=7511231b6aba81ea96044cf644cd9c1f11d78190b7b7f578b1b5a55e2c218f9f,1323
|
|
22
|
-
llama_deploy_appserver-0.3.
|
|
23
|
-
llama_deploy_appserver-0.3.
|
|
24
|
-
llama_deploy_appserver-0.3.
|
|
22
|
+
llama_deploy_appserver-0.3.6.dist-info/WHEEL,sha256=66530aef82d5020ef5af27ae0123c71abb9261377c5bc519376c671346b12918,79
|
|
23
|
+
llama_deploy_appserver-0.3.6.dist-info/METADATA,sha256=096d4009cb22f6812c98508de37a4530dc9ea73cb1db0fcaa60b3ad68fc18b5a,1007
|
|
24
|
+
llama_deploy_appserver-0.3.6.dist-info/RECORD,,
|
|
File without changes
|