mirror of
https://github.com/langgenius/dify-plugins.git
synced 2026-07-22 01:55:36 -04:00
[BUG] MistralAI official plugin has wrong "model type" for mistral-embed #4
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 @VinceOPS on GitHub (Mar 5, 2025).
Hi DIFY team!
I've been using DIFY 1.0.0 today and I noticed that the "mistral-embed" model has a
model_typeset tollmin the plugin package (filemodels/llm/mistral-embed.yaml)... Which probably explains why I cannot select it as an Embedding model?(Nevertheless, no
model_sourceshas been provided for Text embeddings, either. Only for LLM:- models/llm/llm.py)@VinceOPS commented on GitHub (Mar 5, 2025):
I can confirm that using
model_type: text-embeddinginmistral-embed.yamldid the job 🎉I am not sure it is useful but I also added
- text-embeddingtosupported_model_types:inprovider/mistralai.yaml.I would be glad to create a PR if the plugin is not closed-source (is it?).
An implementation for the
model_sourcesis still probably necessary, as I cannot use the model to process new documents.(For anyone reading this in X weeks/months/years: I simply
unzip'dthe .difypkg file downloaded from the Marketplace, then I did my changes inside... Then used the DIFY daemon tool to package the folder back to adifypkgfile... Then I had to set env variableFORCE_VERIFYING_SIGNATUREtofalseto be able to install the plugin locally 😄 )@XiaoLey commented on GitHub (Mar 10, 2025):
Hi @VinceOPS,
I noticed your question and thought I’d chime in to help. You could check out the dify-official-plugins repository, as it seems to be the right place to make adjustments or submit a PR to address the issue with the
mistral-embedmodel.Hope this helps, and thanks for contributing to the community!