Urgent help with python nextjs deploy get 500 status

Hello need to understand what is wrong )
I had some build issues but now it’s ok

But when I make request to api it returns me 500 status
I also use on FastAPI side Groq
I have added Groq API key to my environment variables and it shows 500 status what can be wrong ?
Thanks for response

Also think is necessary to add what i have in vercel.json

{
  "version": 2,
  "builds": [
    {
      "src": "backend/main.py",
      "use": "@vercel/python",
      "config": {
        "maxLambdaSize": "50mb"
      }
    },
    {
      "src": "frontend/package.json",
      "use": "@vercel/next"
    }
  ],
  "routes": [
    {
      "src": "/api/(.*)",
      "dest": "backend/main.py"
    },
    {
      "src": "/(.*)",
      "dest": "frontend/$1"
    }
  ]
}

Please need help with this issue :blush:

Possible will help link to my repository