mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-27 02:42:00 +08:00
GO: improve model info parsing and add model_id/tenant context to list response (#16804)
This commit is contained in:
@@ -119,6 +119,8 @@ func ModelTypeFromString(s string) ModelType {
|
||||
return ModelTypeSpeech2Text
|
||||
case "image2text":
|
||||
return ModelTypeImage2Text
|
||||
case "vision":
|
||||
return ModelTypeImage2Text
|
||||
case "rerank":
|
||||
return ModelTypeRerank
|
||||
case "tts":
|
||||
|
||||
Reference in New Issue
Block a user