获取不到获取下一轮建议问题列表 #27949
Replies: 1 comment
-
|
The most common reasons for the suggested-questions API to hang or return no results are: an invalid or missing message_id, insufficient conversation context, the feature not being fully enabled in both app and backend config, or issues with the LLM/model setup. Make sure your message_id is valid, the feature is enabled in both the UI and system config, and that you have enough conversation history for the model to generate suggestions. After enabling the feature, publish changes and try starting a new conversation. Also, check your backend logs for errors—model invocation failures or misconfigurations can cause the API to return empty results or hang cite cite. If you’re self-hosting, confirm that your environment variables and Docker port mappings are correct, especially if you’re running behind Docker—misconfigured URLs or ports can cause API calls to hang cite. If the problem persists, check that your Dify version matches the API endpoint you’re calling, and review the backend logs for any exceptions or warnings related to suggested questions or model errors. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
curl --location --request GET 'http://10.72.21.40/v1/messages/{message_id}/suggested?user=abc-123
--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY'
--header 'Content-Type: application/json'
The official interface for obtaining the next suggestion could not be called. It remained in the calling state and no result could be obtained.
2. Additional context or comments
No response
Beta Was this translation helpful? Give feedback.
All reactions