Elffuss BraidHub

kikocis/llama-stack public

Add httpx to core server deps
Changeset148d094ca6bd7b71ca4695ffed80f7973e33bcf998121594c64453716a5b0637
AuthorAshwin Bharambe <ashwin.bharambe@gmail.com> · 2024-09-24 10:41 -07:00
CommitterAshwin Bharambe <ashwin.bharambe@gmail.com> · 2024-09-24 10:42 -07:00
Parents842c3e3bbdd0

Browse the files at this changeset

1 file changed

modified llama_stack/distribution/distribution.py +3 −2
@@ -8,6 +8,8 @@
88 import inspect
99 from typing import Dict, List
1010
11+from pydantic import BaseModel
12+
1113 from llama_stack.apis.agents import Agents
1214 from llama_stack.apis.inference import Inference
1315 from llama_stack.apis.memory import Memory
@@ -17,8 +19,6 @@
1719 from llama_stack.apis.shields import Shields
1820 from llama_stack.apis.telemetry import Telemetry
1921
20-from pydantic import BaseModel
21-
2222 from .datatypes import Api, ApiEndpoint, ProviderSpec, remote_provider_spec
2323
2424 # These are the dependencies needed by the distribution server.
@@ -26,6 +26,7 @@
2626 SERVER_DEPENDENCIES = [
2727 "fastapi",
2828 "fire",
29+ "httpx",
2930 "uvicorn",
3031 ]
3132