mirror of
https://github.com/openai/codex.git
synced 2026-10-24 18:18:41 +00:00
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:
committed by
copyberry
parent
b82d542aef
commit
adca78ddae
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user