Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
b67bf222
Commit
b67bf222
authored
Mar 01, 2026
by
erio
Browse files
fix: update mixed channel warning message
parent
dde3b59e
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/internal/service/admin_service.go
View file @
b67bf222
...
@@ -2529,6 +2529,6 @@ type MixedChannelError struct {
...
@@ -2529,6 +2529,6 @@ type MixedChannelError struct {
}
}
func
(
e
*
MixedChannelError
)
Error
()
string
{
func
(
e
*
MixedChannelError
)
Error
()
string
{
return
fmt
.
Sprintf
(
"警告:分组
\"
%s
\"
中同时包含 %s 和 %s 账号。混合使用不同渠道可能导致 thinking block 签名验证问题,
会导致请求报错,请确认混合调用的 Anthropic 账号对应的是反重力反代的 Claude API
。确定要继续吗?"
,
return
fmt
.
Sprintf
(
"警告:分组
\"
%s
\"
中同时包含 %s 和 %s 账号。混合使用不同渠道可能导致 thinking block 签名验证问题,
请确保 Anthropic 账号是 Antigravity 反代暴露的 api
。确定要继续吗?"
,
e
.
GroupName
,
e
.
CurrentPlatform
,
e
.
OtherPlatform
)
e
.
GroupName
,
e
.
CurrentPlatform
,
e
.
OtherPlatform
)
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment