Skip to content

Commit

Permalink
fix: fix error loading stats (#912)
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng committed Jan 7, 2024
1 parent 318adf5 commit e848a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func SearchLogsByDayAndModel(userId, start, end int) (LogStatistics []*LogStatis
sum(completion_tokens) as completion_tokens
FROM logs
WHERE type=2
AND userId= ?
AND user_id= ?
AND created_at BETWEEN ? AND ?
GROUP BY day, model_name
ORDER BY day, model_name
Expand Down

0 comments on commit e848a3f

Please sign in to comment.