Remove the 1 MiB response limit for explicit model catalogs (#56525)

## What changed

Fetch catalogs configured with `model_catalog_url` without a response-body size limit, allowing responses larger than 1 MiB. Remove the oversized-response rejection test and update the catalog client documentation to drop the limit requirement.

GitOrigin-RevId: acd0dbbac5d548596b50faa309496de2db3588df
This commit is contained in:
Andrei Eternal
2026-10-23 16:56:38 +00:00
committed by copyberry
parent b82d542aef
commit adca78ddae
2 changed files with 7 additions and 46 deletions
+2 -2
View File
@@ -92,8 +92,8 @@ impl<T: HttpTransport> ModelsClient<T> {
/// Fetches a catalog using the provider's auth and retry policy without decoding it.
///
/// Callers accepting provider-controlled catalogs must set a response-body limit
/// and validate the native response without including raw values in diagnostics.
/// Callers accepting provider-controlled catalogs must validate the native response
/// without including raw values in diagnostics.
pub async fn list_models_raw(
&self,
request_url: String,