Feat: support vision llm for gpustack (#6636)

### What problem does this PR solve?
https://github.com/infiniflow/ragflow/issues/6138

This PR is going to support vision llm for gpustack, modify url path
from `/v1-openai` to `/v1`

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
Alex Chen
2025-03-31 15:33:52 +08:00
committed by GitHub
parent 7d9dd1e5d3
commit 46b5e32cd7
6 changed files with 22 additions and 11 deletions

View File

@ -107,7 +107,8 @@ from .cv_model import (
YiCV,
HunyuanCV,
AnthropicCV,
SILICONFLOWCV
SILICONFLOWCV,
GPUStackCV,
)
from .rerank_model import (
@ -145,7 +146,7 @@ from .tts_model import (
SparkTTS,
XinferenceTTS,
GPUStackTTS,
SILICONFLOWTTS
SILICONFLOWTTS,
)
EmbeddingModel = {
@ -202,6 +203,7 @@ CvModel = {
"Tencent Hunyuan": HunyuanCV,
"Anthropic": AnthropicCV,
"SILICONFLOW": SILICONFLOWCV,
"GPUStack": GPUStackCV,
}
ChatModel = {