"backend/vscode:/vscode.git/clone" did not exist on "36cda57c815083d00a45df9717f2e5121bc99b3f"
Commit 6533a464 authored by yangjianbo's avatar yangjianbo
Browse files

fix(openai): 增强自动透传命中日志

parent 9c910c20
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment