mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #851] [MERGED] chore: optimize the gpustack rerank path #1586
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/851
Author: @alexcodelf
Created: 5/6/2025
Status: ✅ Merged
Merged: 5/6/2025
Merged by: @crazywoola
Base:
main← Head:chore/gpustack-rerank-path📝 Commits (1)
f598989chore: optimize the gpustack rerank path📊 Changes
2 files changed (+2 additions, -2 deletions)
View changed files
📝
models/gpustack/manifest.yaml(+1 -1)📝
models/gpustack/models/rerank/rerank.py(+1 -1)📄 Description
Related Issues or Context
When users configure the rerank model using GPUStack plugins, they often mistakenly paste a URL that already includes
/v1/. Our system automatically appends/v1/rerank, which leads to an error due to the duplicated path (/v1/v1/rerank). We need to make this configuration process foolproof, so users can simply paste their base URL without worrying about whether/v1/is included, ensuring it works correctly either way.This PR contains Changes to LLM Models Plugin
Version Control (Any Changes to the Plugin Will Require Bumping the Version)
VersionField, Not in Meta Section)Dify Plugin SDK Version
dify_plugin>=0.2.0,<0.3.0in requirements.txt (SDK docs)Environment Verification (If Any Code Changes)
Local Deployment Environment
SaaS Environment
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.