UIEventSchema Doesn't Exist #142

Closed
opened 2026-02-15 19:16:17 -05:00 by yindo · 2 comments
Owner

Originally created by @gardner on GitHub (May 12, 2025).

$ pnpm create llama@latest cha-cha --use-pnpm --ask-models
✔ What use case do you want to build? › Agentic RAG
✔ What language do you want to use? › Typescript (NextJS)
✔ Do you want to use LlamaCloud services? … No / Yes
✔ Which model provider would you like to use › Gemini
✔ Please provide your Google API key (or leave blank to use GOOGLE_API_KEY env variable): … asd
✔ Which LLM model would you like to use? › gemini-1.5-pro-latest
✔ Which embedding model would you like to use? › text-embedding-004
✔ How would you like to proceed? › Generate code and install dependencies (~2 min)
Creating a new LlamaIndex app in /Users/dev/src/cha-cha.

Using pnpm.

Initializing project with template: llamaindexserver 


Installing dependencies:

The resulting code contains this file:
https://github.com/run-llama/create-llama/blob/556f33c0abf2235de1bcc6be989fbe6a9f53835b/packages/create-llama/templates/types/llamaindexserver/nextjs/src/generate.ts#L11

./app/workflow does not export a UIEventSchema.

https://github.com/user-attachments/assets/fd5d04a3-55ad-4a10-96d8-cdab7a2df740

Additionally, the model selection was just supported.

$ pnpm create llama@latest --version
0.5.13
Originally created by @gardner on GitHub (May 12, 2025). ```shell $ pnpm create llama@latest cha-cha --use-pnpm --ask-models ✔ What use case do you want to build? › Agentic RAG ✔ What language do you want to use? › Typescript (NextJS) ✔ Do you want to use LlamaCloud services? … No / Yes ✔ Which model provider would you like to use › Gemini ✔ Please provide your Google API key (or leave blank to use GOOGLE_API_KEY env variable): … asd ✔ Which LLM model would you like to use? › gemini-1.5-pro-latest ✔ Which embedding model would you like to use? › text-embedding-004 ✔ How would you like to proceed? › Generate code and install dependencies (~2 min) Creating a new LlamaIndex app in /Users/dev/src/cha-cha. Using pnpm. Initializing project with template: llamaindexserver Installing dependencies: ``` The resulting code contains this file: https://github.com/run-llama/create-llama/blob/556f33c0abf2235de1bcc6be989fbe6a9f53835b/packages/create-llama/templates/types/llamaindexserver/nextjs/src/generate.ts#L11 `./app/workflow` does not export a `UIEventSchema`. https://github.com/user-attachments/assets/fd5d04a3-55ad-4a10-96d8-cdab7a2df740 Additionally, the model selection was just supported. ``` $ pnpm create llama@latest --version 0.5.13 ```
yindo closed this issue 2026-02-15 19:16:17 -05:00
Author
Owner

@marcusschiesser commented on GitHub (May 12, 2025):

@gardner thanks for the catch, you can just remove the import for now, we'll add a fix

@marcusschiesser commented on GitHub (May 12, 2025): @gardner thanks for the catch, you can just remove the import for now, we'll add a fix
Author
Owner

@marcusschiesser commented on GitHub (May 15, 2025):

fixed on main

@marcusschiesser commented on GitHub (May 15, 2025): fixed on main
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/create-llama#142