mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
[PR #707] [MERGED] chore: Update Mixedbread to latest version #1502
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?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-official-plugins/pull/707
Author: @DavideDelbianco
Created: 4/13/2025
Status: ✅ Merged
Merged: 4/13/2025
Merged by: @crazywoola
Base:
main← Head:fix/mixedbread📝 Commits (1)
ee6dfc3chore: Update Mixedbread to latest version📊 Changes
9 files changed (+156 additions, -67 deletions)
View changed files
➕
models/mixedbread/.env.example(+4 -0)➕
models/mixedbread/README.md(+16 -0)➕
models/mixedbread/_assets/beir-performance.png(+0 -0)📝
models/mixedbread/manifest.yaml(+9 -13)➕
models/mixedbread/models/rerank/mxbai-rerank-large-v2.yaml(+4 -0)📝
models/mixedbread/models/rerank/rerank.py(+52 -20)📝
models/mixedbread/models/text_embedding/text_embedding.py(+66 -29)📝
models/mixedbread/provider/mixedbread.yaml(+4 -4)📝
models/mixedbread/requirements.txt(+1 -1)📄 Description
Related Issue or Context
Resolves #705
Type of Change
Version Control (if applicable)
Versionfield, not in Meta section)Test Evidence (if applicable)
Screenshots or Video/GIF:
Before with valid key:






After with valid key, before fixing model names (now show the error message):
After with valid key, with model names corrected (validation passes) and new rerank model added:
Updated the code to work with latest
dify-plugin-sdk(token count needed to outputint[]and notint)Added the env.cof file and README.md that are present in other plugins, but were missing in this one
Update the provider name, it is "Mixedbread" and not "MixedBread"
Updated the code to use
dify-plugin-sdk0.0.1b76+ to avoid the memory leaks problemsEnvironment Verification
Local Deployment Environment
Local Deployment Dify Version: 1.2.0
SaaS Environment
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.