mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
Cannot import some models though Replicate #345
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 @hellpoethero on GitHub (Jun 5, 2025).
Self Checks
Dify version
1.4.1
Plugin version
0.0.3
Cloud or Self Hosted
Cloud
Steps to reproduce
I install Replicate plugin, then I add some models. I can add some models like Llama 8B, Llama 70B, but some other models can not be added. The error is "Model {model_name}:{version} is not a Text Generation model."
I read the source code of Replicate plugin (https://github.com/langgenius/dify-official-plugins/blob/306ffadf9c7b227f63cc9587e439c0c4c231a72b/models/replicate/models/llm/llm.py) and realize that this error happen because the code only check some conditions to verify where the model is LLM or not from line 119 to 140:
The info of an OpenAI model is like
=> Error. Please add some rules to this. Thank you.
✔️ Error log
@dosubot[bot] commented on GitHub (Aug 17, 2025):
Hi, @hellpoethero. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.
Issue Summary:
Next Steps:
Thank you for your understanding and contribution!