a16z-infra / companion-app

AI companions with memory: a lightweight stack to create and host your own AI companions
https://ai-companion-stack.com/
MIT License
5.76k stars 959 forks source link

Issue with loading companions and getting response #94

Closed lsvagusa closed 1 year ago

lsvagusa commented 1 year ago

Hi, I'm trying to use this on my local machine. I did the setup and the first page with all the companions showing is loading as it should. After that once I prompt it with something I get the following error:

prompt: Hello Failed to record analytics TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11576:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { cause: Error: getaddrinfo ENOTFOUND **** at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:108:26) at GetAddrInfoReqWrap.callbackTrampoline (node:internal/async_hooks:130:17) { errno: -3008, code: 'ENOTFOUND', syscall: 'getaddrinfo', hostname: '****' } } - error TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11576:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { cause: Error: getaddrinfo ENOTFOUND **** at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:108:26) at GetAddrInfoReqWrap.callbackTrampoline (node:internal/async_hooks:130:17) { errno: -3008, code: 'ENOTFOUND', syscall: 'getaddrinfo', hostname: '****' } }

also when I try and load this in github workspaces no companions are loaded in, this shows instead: error

and then when prompting this "empty" companion I get the following: slika

I've tried fixing the issue myself with no success.

lsvagusa commented 1 year ago

I fixed the issue with the local machine by removing typo from env.local. The github workspaces issue still persists.

stavroslee commented 1 year ago

what was the typo from env.local?

lsvagusa commented 1 year ago

Double letter on accident.