a16z-infra / a16z-infra/ai-town

"No default world found" error when trying to run AI Town locally

オープン
#256 コメント 14 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
10.5k
フォーク
1.2k
平均マージ
1日 1時間
マージ済み PR(30日)
2

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。