Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
75b480d8
authored
Nov 05, 2024
by
CalciumIon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 删除无用日志
parent
a8eecffe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
relay/channel/openai/relay-openai.go
+3
-3
No files found.
relay/channel/openai/relay-openai.go
View file @
75b480d8
...
@@ -508,9 +508,9 @@ func OpenaiRealtimeHandler(c *gin.Context, info *relaycommon.RelayInfo) (*dto.Op
...
@@ -508,9 +508,9 @@ func OpenaiRealtimeHandler(c *gin.Context, info *relaycommon.RelayInfo) (*dto.Op
localUsage
=
&
dto
.
RealtimeUsage
{}
localUsage
=
&
dto
.
RealtimeUsage
{}
// print now usage
// print now usage
}
}
common
.
LogInfo
(
c
,
fmt
.
Sprintf
(
"realtime streaming sumUsage: %v"
,
sumUsage
))
//
common.LogInfo(c, fmt.Sprintf("realtime streaming sumUsage: %v", sumUsage))
common
.
LogInfo
(
c
,
fmt
.
Sprintf
(
"realtime streaming localUsage: %v"
,
localUsage
))
//
common.LogInfo(c, fmt.Sprintf("realtime streaming localUsage: %v", localUsage))
common
.
LogInfo
(
c
,
fmt
.
Sprintf
(
"realtime streaming localUsage: %v"
,
localUsage
))
//
common.LogInfo(c, fmt.Sprintf("realtime streaming localUsage: %v", localUsage))
}
else
if
realtimeEvent
.
Type
==
dto
.
RealtimeEventTypeSessionUpdated
||
realtimeEvent
.
Type
==
dto
.
RealtimeEventTypeSessionCreated
{
}
else
if
realtimeEvent
.
Type
==
dto
.
RealtimeEventTypeSessionUpdated
||
realtimeEvent
.
Type
==
dto
.
RealtimeEventTypeSessionCreated
{
realtimeSession
:=
realtimeEvent
.
Session
realtimeSession
:=
realtimeEvent
.
Session
...
...
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