llama-stack-mirror/llama_stack/ui/lib
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
..
client.ts chore(ui): use proxy server for backend API calls; simplified k8s deployment (#2350) 2025-06-03 14:57:10 -07:00
format-message-content.test.ts feat(ui): implement chat completion views (#2201) 2025-05-22 22:05:54 -07:00
format-message-content.ts feat(ui): add views for Responses (#2293) 2025-05-28 09:51:22 -07:00
format-tool-call.tsx feat(ui): implement chat completion views (#2201) 2025-05-22 22:05:54 -07:00
truncate-text.ts feat(ui): implement chat completion views (#2201) 2025-05-22 22:05:54 -07:00
types.ts feat(ui): add views for Responses (#2293) 2025-05-28 09:51:22 -07:00
utils.tsx feat(ui): implement chat completion views (#2201) 2025-05-22 22:05:54 -07:00