Adrian Lyjak 1af83f8e43 Update llama ui for basic-ui (#167)
* feat(basic-ui): upgrade to @llamaindex/ui v3 workflow hooks

- Update @llamaindex/ui from ^2.1.1 to ~3.6.1
- Move @llamaindex/ui from devDependencies to dependencies
- Replace deprecated hooks (useWorkflowRun, useWorkflowHandler) with
  new v3 hooks (useWorkflow, useHandler)
- Add proper event streaming with subscribeToEvents
- Use isStopEvent helper for result detection
- Display handler status in the UI

* fix(basic-ui): use handler.state.result for workflow result display

Simplify the implementation by using handler.state.result directly
instead of event streaming, which is more reliable for this simple
use case where we only need the final result.

* better

* bump

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-12 20:31:29 -05:00
2025-09-16 11:12:34 -04:00
2026-01-12 20:31:29 -05:00
2025-09-16 11:12:34 -04:00
2025-12-16 16:38:12 -05:00
2025-10-29 17:44:26 -04:00

Llama Deploy

This application uses LlamaDeploy. For more information see the docs

Getting Started

  1. install uv if you haven't brew install uv
  2. run uvx llamactl serve
  3. Visit http://localhost:4501/

Organization

  • src contains python workflow sources. The name of the deployment here is defined as app
  • ui contains a vite app powered by @llamaindex/ui. It calls the local workflow server via api requests. See http://localhost:4501/deployments/app/docs for openAPI docs
S
Description
No description provided
Readme 121 KiB
Languages
TypeScript 60.6%
CSS 26.8%
Python 6.2%
HTML 3.9%
Jinja 1.3%
Other 1.2%