Skip to content

Commit

Permalink
fix: aiproxy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zijiren233 committed Nov 25, 2024
1 parent 364409a commit ec5ebc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/aiproxy/relay/adaptor/openai/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func Handler(c *gin.Context, resp *http.Response, promptTokens int, modelName st
return nil, &textResponse.Usage
}

func RerankHandler(c *gin.Context, resp *http.Response, promptTokens int, meta *meta.Meta) (*model.ErrorWithStatusCode, *model.Usage) {
func RerankHandler(c *gin.Context, resp *http.Response, promptTokens int, _ *meta.Meta) (*model.ErrorWithStatusCode, *model.Usage) {
defer resp.Body.Close()

responseBody, err := io.ReadAll(resp.Body)
Expand Down

0 comments on commit ec5ebc3

Please sign in to comment.