Troubleshoot Prompt Composer
Prompt Composer displays error messages for a range of issues. You can troubleshoot these error messages using the following information.
LLM downstream Snap error
Error message: The downstream LLM Snap failed to process the data. Please check the LLM Snap and try again.
Try the following actions to fix this issue:
- Make sure that an LLM model is selected in the LLM-calling Snap downstream from the Prompt Generator Snap.
- Verify that the Snap account for the LLM is valid.
- If no LLM-calling Snap is downstream, add one.
- PipeLoop
- Pipeline Execute
- HTTP Client
- Tool-calling Snaps
Prompt Assistant timeout
Error message: Error: Assistant timed out. Please try again.
.
Try the following actions to fix this issue:
- Check the LLM-calling Snap configuration.
- Validate the pipeline.
- Open Prompt Composer and click Update.
No incoming data
Error message: No data found. Please check the input data and try again.
Try the following actions to fix this issue:
- Point and click the JSON Generator Snap to open the Settings dialog.
- Click Open Editor.
- In the JSON editor, check the formatting of the data and fix any issues.
- If the JSON data exceeds 10MB, consider breaking up the data sample into smaller sizes.
Account issues
Error message: The downstream LLM Snap must be configured with an account. Please configure an account and try again..
Try the following actions to fix this issue:
- Point and click the LLM-calling Snap to open the Settings.
- Verify that the Prompt* field value is $prompt.
No LLM Snaps
Error message: No LLM Snap found in the pipeline downstream. Please add a LLM Snap to the pipeline.
- Add an LLM-calling Snap.
- Make sure the LLM-calling Snap is configured with a valid account.
LLM account authorization issues
Error message: The downstream LLM Snap must be configured with an account. Please configure an account and try again
Try the following actions to fix this issue:
- Point and click the LLM-calling Snap to open the Settings dialog.
- Verify that the LLM account is valid and the Snap Account is configured correctly.
LLM Snap is not connected
Error message: The downstream LLM Snap is not connected to the current snap. Please connect the LLM Snap to the current snap and try again.
Try the following actions to fix this issue:
- Close Prompt Composer and connect the LLM-calling Snap.
- Make sure the pipeline validates and open Prompt Composer.