From c76f12f287bf371b42ecc4ce28b784332e565041 Mon Sep 17 00:00:00 2001 From: kathayl Date: Fri, 27 Feb 2026 09:23:21 -0800 Subject: [PATCH] Remove Anthropic models caution note from /json endpoint docs --- .../docs/browser-rendering/rest-api/json-endpoint.mdx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/content/docs/browser-rendering/rest-api/json-endpoint.mdx b/src/content/docs/browser-rendering/rest-api/json-endpoint.mdx index 3591cd36dfc0eeb..1d4edc53aab130b 100644 --- a/src/content/docs/browser-rendering/rest-api/json-endpoint.mdx +++ b/src/content/docs/browser-rendering/rest-api/json-endpoint.mdx @@ -306,12 +306,6 @@ Browser Rendering can use a custom model for which you supply credentials. List - `model` should be formed as `/` and the provider must be one of these [supported providers](/ai-gateway/usage/chat-completion/#supported-providers). - `authorization` is the bearer token or API key that allows Browser Rendering to call the provider on your behalf. -:::caution[Anthropic models and response_format] - -When using Anthropic models (such as Claude), do not use the `response_format` parameter. Anthropic's API expects `output_schema` instead of `response_format`, which will cause an `invalid_request_error`. Use only the `prompt` parameter with Anthropic models until this is resolved. - -::: - This example uses the `custom_ai` parameter to instruct Browser Rendering to use a Anthropic's Claude Sonnet 4 model. The prompt asks the model to extract the main `

` and `

` headings from the target URL and return them in a structured JSON object. ```bash