core.model_runtime.errors.validate.CredentialsValidateFailedError: Internal Server Error
Self Checks
- [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
- [x] Please do not modify this template :) and fill in all the required fields.
Dify version
1.0.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
add a Speech2text model,
it shows successfully, but the model was not added
✔️ Expected Behavior
The model should be added
❌ Actual Behavior
The model was not added
I found a similar open issue related to the SPEECH2TEXT model not being recognized after upgrading to Dify 1.0. The suggested solution involves several steps:
-
Verify Model Configuration: Ensure that the
SPEECH2TEXTmodel is correctly configured in the GPUstack provider settings, including the model type, name, server URL, and API key. -
Check Provider YAML File: Make sure the provider's YAML configuration file includes the
SPEECH2TEXTmodel type. The YAML file should define the supported model types and ensure thatSPEECH2TEXTis listed. -
Review Code Changes: Look into any changes made in Dify 1.0 that might affect model recognition or credential validation for the GPUstack provider. This might involve checking the
model_provider_factoryandplugin_model_managerfor any updates related to model types. -
Update Model Definitions: If there are predefined models, ensure that the YAML files for these models are updated according to the new schema or requirements introduced in Dify 1.0 [1].
Additionally, there was a closed issue where the speech2text model was missing from the model listing, which was resolved by a pull request that fixed the schema for the gpustack speech-to-text model [2]. You might want to check if this fix is applicable to your situation.
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
What's your plugin version? Please provide the container logs of the internal server error as well.
Hi, @engchina. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.
Issue Summary:
- Bug in Dify version 1.0.1 with Speech2text model in Docker setup.
- Error encountered: "CredentialsValidateFailedError: Internal Server Error."
- Suggested solutions include verifying model configuration and updating model definitions.
- Additional information requested: plugin version and container logs.
Next Steps:
- Please confirm if this issue is still relevant to the latest version of Dify. If so, you can keep the discussion open by commenting here.
- If there is no further activity, this issue will be automatically closed in 15 days.
Thank you for your understanding and contribution!