-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed POST /chats/563/messages: Unexpected token 'I', "Internal S"... is not valid JSON #158
Comments
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 { |
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 |
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
The text was updated successfully, but these errors were encountered: