Open nickknyc opened 1 month ago
Sorry about this. I should provide a guide about how to initialize Supabase. will get this done asap.
You can refer to this document on how to setup the Supabase correctly.
@hughlv - unfortunately I am still getting the same error.
POST /chats/588/messages data { id: 172426943953418, type: 'user', sender: 'nickknyc', content: 'Write a poem based on recent headlines about Vancouver.', created_at: '2024-08-21T19:43:59.053Z' } Failed POST /chats/588/messages: Unexpected token 'I', "Internal S"... is not valid JSON
I should also point out this error I get when starting up the API container (using docker compose)
/app/entrypoint.sh: line 2: $'\r': command not found /app/entrypoint.sh: line 4: .venv/bin/activate : No such file or directory /app/entrypoint.sh: line 5: $'\r': command not found /app/entrypoint.sh: line 8: $'\r': command not found
I should also point out this error I get when starting up the API container (using docker compose)
/app/entrypoint.sh: line 2: $'\r': command not found /app/entrypoint.sh: line 4: .venv/bin/activate : No such file or directory /app/entrypoint.sh: line 5: $'\r': command not found /app/entrypoint.sh: line 8: $'\r': command not found
Thanks for the details. this is an issue I've never seen before. will look into it asap.
I've tried 'docker-compose up' on my local env, but could not reproduce the issue. The problem seems to be related to Cargo. if you're a developer, could you please try to run without Docker and see whether issue still exists? Thanks.
Running in Docker. No modifications other than the environment and OAI files Supabase running in the supabase hosted service
I cannot initiate a chat
Here is the log from docker - a clean startup then attempt to chat with the sample "Tools in Assistants" template.
frontend-1 | frontend-1 | > agentok-ui@ start /app frontend-1 | > next start frontend-1 | frontend-1 | ▲ Next.js 14.2.5 frontend-1 | - Local: http://localhost:2855 frontend-1 | frontend-1 | ✓ Starting... frontend-1 | ✓ Ready in 850ms frontend-1 | params { locale: 'en' } frontend-1 | Auth event: INITIAL_SESSION frontend-1 | POST /chats/563/messages data { frontend-1 | id: 172392929304042, frontend-1 | type: 'user', frontend-1 | sender: 'nickknyc', frontend-1 | content: 'Write a poem based on recent headlines about Vancouver.', frontend-1 | created_at: '2024-08-17T21:14:53.663Z' frontend-1 | } frontend-1 | Failed POST /chats/563/messages: Unexpected token 'I', "Internal S"... is not valid JSON api-1 | /app/entrypoint.sh: line 2: $'\r': command not found api-1 | /app/entrypoint.sh: line 4: .venv/bin/activate : No such file or directory api-1 | /app/entrypoint.sh: line 5: $'\r': command not found api-1 | /app/entrypoint.sh: line 8: $'\r': command not found