mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
Tongyi speech2text and tts models #294
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 @Liu-Tianmeng on GitHub (May 19, 2025).
Self Checks
Dify version
1.4.0
Cloud or Self Hosted
Cloud
Steps to reproduce
Although I was prompted with “modified successfully,” the Tongyi card still cannot add the speech-to-text and TTS models.
✔️ Expected Behavior
I want to add Alibaba Cloud’s cosyvoice-v1 and paraformer-v2 models. Although I keep getting the message “modified successfully,” I still can’t find where the models are.
If the models can’t be added, please don’t show a success message.
❌ Actual Behavior
No response
@dosubot[bot] commented on GitHub (May 19, 2025):
Hello @Liu-Tianmeng! 👋 I'm Dosu, your friendly bot here to help you solve bugs, answer questions, and assist you in becoming a contributor. I'm here while you wait for a human maintainer. Let's tackle this together! 😊
The issue you're experiencing, where the "modified successfully" message appears but the Tongyi models are not added, might be related to the conditions or checks implemented in the codebase for verifying the successful addition of a model. Here are some key checks that might be relevant:
Credential Validation: Ensure that the
replicate_api_tokenis correctly set in the credentials. If this token is missing, the model addition process might fail without proper notification.Model Name Format: The model name should be in the format
{user_name}/{model_name}. If the format is incorrect, it could lead to a failure in adding the model.Model Existence: The system attempts to retrieve model information using the
ReplicateClient. If the model or its version does not exist, it might fail silently, leading to the issue you're seeing.Text Generation Model Check: The model should meet specific criteria, such as being a text generation model with certain properties (
temperature,top_p,top_k). If these are not met, the addition might not be successful.These checks are part of the logic that ensures models are added correctly [1]. You might want to verify these conditions in your setup to ensure the models are added successfully. If these checks are met and the issue persists, it might require further investigation into the code handling model additions.
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