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
4d566f68
"frontend/git@web.lueluesay.top:chenxi/sub2api.git" did not exist on "0772d9250eddd8b1c2f74fa5d1faf90db9fb6129"
Commit
4d566f68
authored
Jan 29, 2026
by
cyhhao
Browse files
chore: gofmt
parent
31f817d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/internal/service/gateway_service.go
View file @
4d566f68
...
...
@@ -42,7 +42,7 @@ const (
// Keep a trailing blank line so that when upstream concatenates system strings,
// the injected Claude Code banner doesn't run into the next system instruction.
claudeCodeSystemPrompt
=
"You are Claude Code, Anthropic's official CLI for Claude.
\n\n
"
maxCacheControlBlocks
=
4
// Anthropic API 允许的最大 cache_control 块数量
maxCacheControlBlocks
=
4
// Anthropic API 允许的最大 cache_control 块数量
)
func
(
s
*
GatewayService
)
debugModelRoutingEnabled
()
bool
{
...
...
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