use int64 timestamps everywhere (#59)

This commit is contained in:
sashabaranov
2023-01-28 23:18:59 +04:00
committed by GitHub
parent 8dac9408c1
commit 3695eb3ade
6 changed files with 9 additions and 9 deletions

View File

@@ -75,7 +75,7 @@ type LogprobResult struct {
type CompletionResponse struct {
ID string `json:"id"`
Object string `json:"object"`
Created uint64 `json:"created"`
Created int64 `json:"created"`
Model string `json:"model"`
Choices []CompletionChoice `json:"choices"`
Usage Usage `json:"usage"`