After installing Dify, unable to configure model parameters

Steps: Install Docker on cloud server → Pull Docker image → Installation successful → Install Tongyi plugin → Configure large model key → Select large model in workflow → Configure large model parameters. An issue occurs at this step.

  1. When clicking to configure the large model in the workflow details, the URL sometimes returns a 500 error, and sometimes it doesn’t, but the request body returns: {“code”:“unauthorized”,“message”:“CSRF token is missing or invalid.”,“status”:401}. The requested URL path is ***:8088/console/api/workspaces/current/model-providers/langgenius/tongyi/tongyi/models/parameter-rules?model=qwen-max.

  2. Clicking the model configuration icon directly switches models instead of opening the parameter configuration dialog.

  3. Multiple methods including deep page refresh and cache clearing fail to bring up the parameter settings.

  4. Reinstalling the plugin also fails to resolve the issue.

Consequences:
When clicking Run for testing, it reports “qwen-max not exist.”

This issue has occurred across multiple versions (1.2, 1.4, 1.9), and sometimes it works by chance.

Please assist in resolving this.

bbb

Version: Version 1.10.1, this issue occurs with multiple versions installed via宝塔 (BaoTa), and it cannot run or be fixed. The API sometimes succeeds in requests, while other times it fails.

aaa