Skip to content

feat: change deepseek api url - #13487

Merged
wanghe-fit2cloud merged 1 commit into
dev-v2from
pr@dev-v2@agent
Aug 5, 2026
Merged

feat: change deepseek api url#13487
wanghe-fit2cloud merged 1 commit into
dev-v2from
pr@dev-v2@agent

Conversation

@zhengkunwang223

Copy link
Copy Markdown
Member

No description provided.

Copilot AI lite review requested due to automatic review settings August 5, 2026 09:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates AI-related configuration and UI text by adjusting the default DeepSeek API base URL in the agent provider catalog and introducing a new localized message for AI Gateway content policy violations.

Changes:

  • Update DeepSeek default openai-completions BaseURL in the agent provider catalog.
  • Add AIProxyContentPolicyViolation i18n string across supported core UI languages.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
core/i18n/lang/zh.yaml Adds AIProxyContentPolicyViolation Chinese (Simplified) translation.
core/i18n/lang/zh-Hant.yaml Adds AIProxyContentPolicyViolation Chinese (Traditional) translation.
core/i18n/lang/tr.yaml Adds AIProxyContentPolicyViolation Turkish translation.
core/i18n/lang/ru.yaml Adds AIProxyContentPolicyViolation Russian translation.
core/i18n/lang/pt-BR.yaml Adds AIProxyContentPolicyViolation Portuguese (Brazil) translation.
core/i18n/lang/ms.yaml Adds AIProxyContentPolicyViolation Malay translation.
core/i18n/lang/lo.yaml Adds AIProxyContentPolicyViolation Lao translation.
core/i18n/lang/ko.yaml Adds AIProxyContentPolicyViolation Korean translation.
core/i18n/lang/ja.yaml Adds AIProxyContentPolicyViolation Japanese translation.
core/i18n/lang/fa.yaml Adds AIProxyContentPolicyViolation Persian translation.
core/i18n/lang/es-ES.yaml Adds AIProxyContentPolicyViolation Spanish (Spain) translation.
core/i18n/lang/en.yaml Adds AIProxyContentPolicyViolation English translation.
agent/app/provider/catalog.go Changes DeepSeek default BaseURL for openai-completions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 54 to 57
Key: "deepseek", DisplayName: "DeepSeek", Sort: 25, DefaultAPIType: "openai-completions", EnvKey: "DEEPSEEK_API_KEY",
APIConfigs: []APIConfig{
{APIType: "openai-completions", BaseURL: "https://api.deepseek.com/v1"},
{APIType: "openai-completions", BaseURL: "https://api.deepseek.com"},
anthropicAPIConfig("https://api.deepseek.com/anthropic", AuthModeXAPIKey),
Comment thread core/i18n/lang/en.yaml
Comment on lines 196 to 200
ErrAIProxyModelGroupExists: "The model group name already exists."
ErrAIProxySensitiveGroupInUse: "The sensitive word group is in use and cannot be deleted."
ErrAIProxySensitiveGroupExists: "The sensitive word group name already exists."
AIProxyContentPolicyViolation: "Sorry, I cannot process this request because the content may not meet the content policy. Please revise it and try again."
AIBenchmarkRun: "Run AI benchmark"
@wanghe-fit2cloud
wanghe-fit2cloud merged commit 54854e9 into dev-v2 Aug 5, 2026
4 checks passed
@wanghe-fit2cloud
wanghe-fit2cloud deleted the pr@dev-v2@agent branch August 5, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants