mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
Credentials validation fails with 404 error when adding DeepSeek model via GPUStack Plugin in Completion mode #664
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @somethingwentwell on GitHub (Sep 22, 2025).
Self Checks
Dify version
1.7.1
Plugin version
0.0.8
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Steps to Reproduce
In Dify, go to Plugins > Install from Marketplace > Search "GPUStack" > Install.
Configure the GPUStack Plugin with self-hosted server (as shown in screenshot):
Model: DeepSeek-R1-INT8
Server: http://10.16.11.95:8000
API Key: [valid key]
Chat mode: Toggle off → Validates and works fine.
Completion mode: Toggle on → Click Save → "Credentials validation failed with status code 404".
✔️ Error log
No response
@dosubot[bot] commented on GitHub (Sep 22, 2025):
The 404 error in Completion mode happens because the GPUStack Plugin sends a POST request to the /v1/completions endpoint for credential validation, while Chat mode uses /v1/chat/completions. Your DeepSeek server likely only implements /v1/chat/completions and not /v1/completions, which is why Chat mode works but Completion mode fails with a 404. This is confirmed by the plugin code and matches similar reports with other models and plugins [source].
Unless your DeepSeek server adds support for the /v1/completions endpoint, you’ll need to use Chat mode. If you require Completion mode, consider patching your server to support the missing endpoint or using a different backend that implements both endpoints. Checking your server logs can confirm the missing endpoint. For more context on similar issues and workarounds, see this discussion.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
