mirror of
https://github.com/NCBM/plyngent.git
synced 2026-11-07 15:37:55 +08:00
core/runtime: DeepSeek default base URL without /v1
Use https://api.deepseek.com as the empty-url default for deepseek preset.
This commit is contained in:
@@ -15,7 +15,7 @@ if TYPE_CHECKING:
|
||||
from collections.abc import Mapping
|
||||
|
||||
DEFAULT_OPENAI_BASE_URL = "https://api.openai.com/v1"
|
||||
DEFAULT_DEEPSEEK_BASE_URL = "https://api.deepseek.com/v1"
|
||||
DEFAULT_DEEPSEEK_BASE_URL = "https://api.deepseek.com"
|
||||
|
||||
type OpenAICompatibleClient = OpenAIClient | DeepseekOpenAIClient
|
||||
|
||||
|
||||
Reference in New Issue
Block a user