Skip to content

Commit

Permalink
fix: add record after yocsef
Browse files Browse the repository at this point in the history
  • Loading branch information
JingYiJun committed May 24, 2024
1 parent 6767233 commit 2956a9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/record/yocsef.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func InferYocsefAsyncAPI(c *websocket.Conn) {

DB.Create(&record)

_ = c.WriteJSON(record)
_ = c.WriteJSON(InferenceResponse{Response: record.Response})

return nil
}
Expand Down

0 comments on commit 2956a9a

Please sign in to comment.