a16z-infra / a16z-infra/ai-town
"No default world found" error when trying to run AI Town locally
- Langage dominant
- TypeScript
- Étoiles
- 10.5k
- Forks
- 1.2k
- Merge moyen
- 1 j 1 h
- PR mergées (30 j)
- 2
Description
This is on an M3 MacBook Pro.
1. I'm following the guide, I had Ollama set up and running already, I'm serving a llama3 variant which I tested. Listening on the 1st terminal window.
2. I configured the llm.ts to reflect the locally hosted LLM and embedding
3. I downloaded the precompiled ARM architecture binary for the convex back-end and successfully started it (listening in a 2nd terminal window)
4. I also executed `just convex env set OLLAMA_HOST http://localhost:11434` which is not in the top local run guide, but mentioned later when the guide is fiddling with containers. This command resulted in `✔ Successfully set OLLAMA_HOST to http://localhost:11434 (on dev deployment oceanic-kudu-143)` and I can see the env variable set in the convex cloud dev environment.
5. Started the back-end separately in the 3rd temrinal window `ai-town % npm run dev:backend`
6. Started the front-end separately in the 4th temrinal window `ai-town % npm run dev:fontend`
7. After that GUI displays at `http://localhost:5173/ai-town`, however it's at the main menu and nothing happens when I click on the `Interact` button.
8. When I click on the `Freeze` button also seemingly nothing happens, however the back-end terminal displays an error (the last three lines, in red):
> ai-town@0.0.0 dev:backend
> just convex dev --tail-logs
>
> ✔ 22:01:26 Convex functions ready! (8.5s)
> 10/22/2024, 10:03:24 PM [CONVEX M(testing:stop)] Uncaught Error: No default world found
> at getDefaultWorld (../convex/testing.ts:120:2)
> at async handler (../convex/testing.ts:71:31)
I'm new to AI town. The guide doesn't tell anything about setting a default world or anything. Do I need ot configure something on the convex web UI? Does that even come into picture when running AI Town locally? I see all of the log messages there too.
I'm stuck.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.