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
ddec450b
authored
Jan 22, 2024
by
CaIon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: change use_time to int
parent
46c7a966
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
model/log.go
+1
-1
No files found.
model/log.go
View file @
ddec450b
...
...
@@ -20,7 +20,7 @@ type Log struct {
Quota
int
`json:"quota" gorm:"default:0"`
PromptTokens
int
`json:"prompt_tokens" gorm:"default:0"`
CompletionTokens
int
`json:"completion_tokens" gorm:"default:0"`
UseTime
int
`json:"use_time" gorm:"
bigint;
default:0"`
UseTime
int
`json:"use_time" gorm:"default:0"`
IsStream
bool
`json:"is_stream" gorm:"default:false"`
ChannelId
int
`json:"channel" gorm:"index"`
TokenId
int
`json:"token_id" gorm:"default:0;index"`
...
...
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