When a deploy fails or the application crashes, the Diagnose with AI button analyzes the log, the service configuration and the repository's configuration files. The answer explains the cause, shows the log lines that prove it and suggests the fix. When the fix is a service setting or a variable, you apply it with one click.
When the button appears
- Failed deploy: open the deploy in the Deploys tab. The button is next to the error message.
- Service crash: when the application crashes, the top of the service screen shows The application crashed, with the button next to it.
The button requires the View logs permission. It doesn't appear if AI diagnosis isn't configured in the panel.
Request a diagnosis
- Click Diagnose with AI.
- Read what will be sent and click Diagnose.
- Wait 10 seconds to 1 minute. You can close the window: the result is saved and shows up when you open it again.

The result has:
- Cause: what went wrong, with the AI's confidence (High confidence, Medium confidence or Low confidence).
- Evidence: the log or file lines that show the cause.
- How to fix it: the steps, in order.
- Code changes: the file and snippet to change, when the fix is in the code.
- Service adjustments: changes the panel can apply for you.
The most recent diagnosis for each deploy or crash is saved, with who requested it and when. Diagnose again runs a new analysis.
WarningThe text is generated by AI. Check it before applying.
Apply the adjustments
Service adjustments show the Current and New values. They can change:
- a service setting: Install command, Build command, Start command, Root directory, Port, Healthcheck path, Builder, Dockerfile path, Before starting or Release script;
- a service variable.
For each adjustment:
- Check the New value. If the AI asks for a variable without proposing the value (a password or key, for example), fill in the Value of NAME field.
- Click Apply, or Apply and deploy to ship the fix right away.
Adjustments go through the same settings screen, with your permissions: changing settings requires Edit service settings, changing a variable requires Edit variables and deploying requires Deploy. Without a deploy, the adjustment takes effect from the next one.
When the answer says Nothing to change in the panel, the fix is in the code: follow How to fix it and Code changes, and run a new deploy.
What is sent
The diagnosis uses OpenAI. It receives:
- the relevant part of the log (from the deploy or the crash);
- the service configuration;
- variable names, without values;
- repository configuration files, such as
package.jsonandDockerfile.
Passwords and tokens that appear in the text are masked.
Plan quota
The number of diagnoses depends on the plan (AI diagnoses limit). The quota is per user, every 24 hours, and shows in the modal (for example, 4 left in the last 24 h). It frees up as each request turns 24 hours old.
If the plan doesn't include diagnosis, the modal tells you. To use it, change the plan in Team → Subscription. See Subscription, plans and costs.