Skip to content

Commit 68edc43

Browse files
committed
remove unused script entry from pyproject.toml and refine UI notice text in GenUIWorkflow
1 parent cde2eaf commit 68edc43

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

llama-index-server/llama_index/server/gen_ui/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ async def write_ui_component(
261261
You should display the jump, run and meow actions in different ways. don't try to render "height" for the "run" and "meow" action.
262262
263263
## UI notice
264-
- Use shadcn/ui and lucide-react and tailwind CSS (but arbitrary values are not supported) for the UI.
264+
- Use shadcn/ui and lucide-react and tailwind CSS for the UI.
265265
- Be careful on state handling, make sure the update should be updated in the state and there is no duplicate state.
266266
- For a long content, consider to use markdown along with dropdown to show the full content.
267267
e.g:
@@ -282,6 +282,7 @@ async def write_ui_component(
282282
events=ev.events,
283283
aggregation_function_context=aggregation_function_context,
284284
code_structure=self.code_structure,
285+
ui_description=ev.ui_description,
285286
)
286287
response = await self.llm.acomplete(prompt, formatted=True)
287288

llama-index-server/pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,3 @@ xhtml2pdf = "^0.2.17"
6363
pytest-cov = "^6.0.0"
6464
llama-cloud = "^0.1.17"
6565

66-
[tool.poetry.scripts]
67-
llama-index-server = "llama_index.server.cli:cli"

0 commit comments

Comments
 (0)