mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-26 01:52:16 +08:00
Fix Gitee embedding model URL error (#13553)
### What problem does this PR solve? As title ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -25,13 +25,13 @@ import (
|
||||
|
||||
// ModelProvider represents a model provider configuration
|
||||
type ModelProvider struct {
|
||||
Name string `json:"name"`
|
||||
Logo string `json:"logo"`
|
||||
Tags string `json:"tags"`
|
||||
Status string `json:"status"`
|
||||
Rank string `json:"rank"`
|
||||
LLMs []LLM `json:"llm"`
|
||||
DefaultEmbeddingURL string `json:"default_embedding_url,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Logo string `json:"logo"`
|
||||
Tags string `json:"tags"`
|
||||
Status string `json:"status"`
|
||||
Rank string `json:"rank"`
|
||||
LLMs []LLM `json:"llm"`
|
||||
DefaultURL string `json:"url,omitempty"`
|
||||
}
|
||||
|
||||
// LLM represents a language model within a provider
|
||||
|
||||
Reference in New Issue
Block a user