CaIon 2 years ago
parent
commit
921f1d65ad
1 changed files with 1 additions and 0 deletions
  1. 1 0
      model/log.go

+ 1 - 0
model/log.go

@@ -71,6 +71,7 @@ func RecordConsumeLog(ctx context.Context, userId int, channelId int, promptToke
 		ModelName:        modelName,
 		Quota:            quota,
 		Channel:          channelId,
+		TokenId:          tokenId,
 	}
 	err := DB.Create(log).Error
 	if err != nil {