a16z-infra / ai-town

A MIT-licensed, deployable starter kit for building and customizing your own version of AI town - a virtual town where AI characters live, chat and socialize.
https://convex.dev/ai-town
MIT License
7.12k stars 651 forks source link

Pop OS - Agents Not Having Conversations #231

Open AstralHazz opened 1 month ago

AstralHazz commented 1 month ago

I keep getting these errors when I run AI Town

--

2024-05-08T00:54:45.082187Z ERROR common::errors: Not reporting above error: Sentry is not configured

--

Documents read from or written to the table "Inputs" changed while this mutation was being run and on every subsequent retry.

--

5/7/2024, 7:55:29 PM [CONVEX A(aiTown/agentOperations:agentGenerateMessage)] Uncaught TypeError: fetch failed

at async (../../convex/util/llm.ts:91:14)

at async retryWithBackoff (../../convex/util/llm.ts:248:22)

at async chatCompletion (../../convex/util/llm.ts:90:4)

at async startConversationMessage (../../convex/agent/conversation.ts:57:14)

at async handler (../../convex/aiTown/agentOperations.ts:74:6)

--

any help or insight would be greatly appreciated! I'm a total noob when it comes to this stuff and I really want to try AI Town! I want to be able to customize the agents in the game. The errors keep even the default agents from conversing properly (or really at all).

61cygni commented 1 month ago

Can you post the logs from running convex locally?

On Thu, May 9, 2024 at 3:19 AM AstralHazz @.***> wrote:

I keep getting these errors when I run AI Town

--

2024-05-08T00:54:45.082187Z ERROR common::errors: Not reporting above error: Sentry is not configured

--

Documents read from or written to the table "Inputs" changed while this mutation was being run and on every subsequent retry.

--

5/7/2024, 7:55:29 PM [CONVEX A(aiTown/agentOperations:agentGenerateMessage)] Uncaught TypeError: fetch failed

at async (../../convex/util/llm.ts:91:14)

at async retryWithBackoff (../../convex/util/llm.ts:248:22)

at async chatCompletion (../../convex/util/llm.ts:90:4)

at async startConversationMessage (../../convex/agent/conversation.ts:57:14)

at async handler (../../convex/aiTown/agentOperations.ts:74:6)

--

any help or insight would be greatly appreciated! I'm a total noob when it comes to this stuff and I really want to try AI Town! I want to be able to customize the agents in the game. The errors keep even the default agents from conversing properly (or really at all).

— Reply to this email directly, view it on GitHub https://github.com/a16z-infra/ai-town/issues/231, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWEFGDNH7RXBCKDQ3OTDK3ZBNETPAVCNFSM6AAAAABHORW3CCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI4DOMZXGQ2TKMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

AstralHazz commented 1 month ago

I tried to run it again just now and now my computer won't boot now... I'm currently trying to install a different distro (Mint Cinnamon). I'll get back to you as soon as I can if AI Town fails again

PeterTongHu commented 3 weeks ago

Have you resolved this issue?