mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
@@ -47,7 +47,7 @@ func (api *API) aiBridgeListInterceptions(rw http.ResponseWriter, r *http.Reques
|
||||
if page.Offset != 0 {
|
||||
httpapi.Write(ctx, rw, http.StatusBadRequest, codersdk.Response{
|
||||
Message: "Offset pagination is not supported.",
|
||||
Detail: "Offset pagination is not supported for AIBridge interceptions. Use cursor pagination instead with after_id..",
|
||||
Detail: "Offset pagination is not supported for AIBridge interceptions. Use cursor pagination instead with after_id.",
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
@@ -246,7 +246,7 @@ func New(ctx context.Context, options *Options) (_ *API, err error) {
|
||||
})
|
||||
return
|
||||
}
|
||||
api.aibridgedHandler.ServeHTTP(rw, r)
|
||||
http.StripPrefix("/api/experimental/aibridge", api.aibridgedHandler).ServeHTTP(rw, r)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user