Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
spikelu2016 committed Aug 31, 2024
1 parent c7ae18b commit 66a3a0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/server/web/proxy/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ func getMiddleware(cpm CustomProvidersManager, rm routeManager, pm PoliciesManag
if strings.HasPrefix(c.Request.UserAgent(), "Go-http-client") {
telemetry.Incr("bricksllm.proxy.get_middleware.block_by_client", nil, 1)
c.Status(200)
c.Abort()
return
}

Expand Down

0 comments on commit 66a3a0a

Please sign in to comment.