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:
Jin Hai
2026-03-12 13:13:06 +08:00
committed by GitHub
parent 375a910bcf
commit 5cbdfc5f17
4 changed files with 24 additions and 9 deletions

View File

@@ -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