fix: record body json
This commit is contained in:
@@ -14,4 +14,4 @@ FROM alpine
|
|||||||
|
|
||||||
COPY --from=builder /app/openai-api-route /openai-api-route
|
COPY --from=builder /app/openai-api-route /openai-api-route
|
||||||
|
|
||||||
ENTRYPOINT ["/openai-api-route"]
|
ENTRYPOINT ["/openai-api-route"]
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ type Record struct {
|
|||||||
UpstreamSK string
|
UpstreamSK string
|
||||||
CreatedAt time.Time
|
CreatedAt time.Time
|
||||||
IP string
|
IP string
|
||||||
Body string `gorm:"serializer:json"`
|
Body string
|
||||||
Model string
|
Model string
|
||||||
Response string
|
Response string
|
||||||
ResponseTime time.Duration
|
ResponseTime time.Duration
|
||||||
|
|||||||
Reference in New Issue
Block a user