File tree 2 files changed +2
-3
lines changed
llama_index/server/gen_ui 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ async def write_ui_component(
261
261
You should display the jump, run and meow actions in different ways. don't try to render "height" for the "run" and "meow" action.
262
262
263
263
## 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.
265
265
- Be careful on state handling, make sure the update should be updated in the state and there is no duplicate state.
266
266
- For a long content, consider to use markdown along with dropdown to show the full content.
267
267
e.g:
@@ -282,6 +282,7 @@ async def write_ui_component(
282
282
events = ev .events ,
283
283
aggregation_function_context = aggregation_function_context ,
284
284
code_structure = self .code_structure ,
285
+ ui_description = ev .ui_description ,
285
286
)
286
287
response = await self .llm .acomplete (prompt , formatted = True )
287
288
Original file line number Diff line number Diff line change @@ -63,5 +63,3 @@ xhtml2pdf = "^0.2.17"
63
63
pytest-cov = " ^6.0.0"
64
64
llama-cloud = " ^0.1.17"
65
65
66
- [tool .poetry .scripts ]
67
- llama-index-server = " llama_index.server.cli:cli"
You can’t perform that action at this time.
0 commit comments