agentok icon indicating copy to clipboard operation
agentok copied to clipboard

Failed POST /chats/563/messages: Unexpected token 'I', "Internal S"... is not valid JSON

Open nickknyc opened this issue 6 months ago • 5 comments

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

nickknyc avatar Aug 17 '24 21:08 nickknyc