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
6533a464
"backend/vscode:/vscode.git/clone" did not exist on "36cda57c815083d00a45df9717f2e5121bc99b3f"
Commit
6533a464
authored
Feb 12, 2026
by
yangjianbo
Browse files
fix(openai): 增强自动透传命中日志
parent
9c910c20
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/internal/service/openai_gateway_service.go
View file @
6533a464
...
...
@@ -1012,7 +1012,14 @@ func (s *OpenAIGatewayService) forwardOpenAIPassthrough(
reqStream
bool
,
startTime
time
.
Time
,
)
(
*
OpenAIForwardResult
,
error
)
{
log
.
Printf
(
"[OpenAI 透传] 已启用:account=%d name=%s"
,
account
.
ID
,
account
.
Name
)
log
.
Printf
(
"[OpenAI 自动透传] 命中自动透传分支: account=%d name=%s type=%s model=%s stream=%v"
,
account
.
ID
,
account
.
Name
,
account
.
Type
,
reqModel
,
reqStream
,
)
// Get access token
token
,
_
,
err
:=
s
.
GetAccessToken
(
ctx
,
account
)
...
...
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