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:
2026-07-15 13:58:17 +08:00
parent 2052967824
commit cc298c6cd2
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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