llama-stack-mirror/llama_stack/distribution/server
ehhuang d96f6ec763
chore(ui): use proxy server for backend API calls; simplified k8s deployment (#2350)
# What does this PR do?
- no more CORS middleware needed


## Test Plan
### Local test
llama stack run starter --image-type conda
npm run dev
verify UI works in browser

### Deploy to k8s
temporarily change ui-k8s.yaml.template to load from PR commit
<img width="604" alt="image"
src="https://github.com/user-attachments/assets/87fa2e52-1e93-4e32-9e0f-5b283b7a37b3"
/>

sh ./apply.sh
$ kubectl get services
go to external_ip:8322 and play around with UI
<img width="1690" alt="image"
src="https://github.com/user-attachments/assets/5b7ec827-4302-4435-a9eb-df423676d873"
/>
2025-06-03 14:57:10 -07:00
..
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
auth.py feat: fine grained access control policy (#2264) 2025-06-03 14:51:12 -07:00
auth_providers.py feat: fine grained access control policy (#2264) 2025-06-03 14:51:12 -07:00
quota.py feat(quota): add server‑side per‑client request quotas (requires auth) (#2096) 2025-05-21 10:58:45 +02:00
routes.py chore: use starlette built-in Route class (#2267) 2025-05-28 09:53:33 -07:00
server.py chore(ui): use proxy server for backend API calls; simplified k8s deployment (#2350) 2025-06-03 14:57:10 -07:00