pub async fn fetch_google_doc_from_model(
url: &str,
api_token: Option<&str>,
) -> Result<GDocsRenderedResult>Expand description
Fetch and render the model data embedded in the Google Docs /edit route.
The Rust browser automation crate currently exposes a placeholder browser,
so this path fetches the editor HTML and parses embedded DOCS_modelChunk
data when available.
ยงErrors
Returns an error when the URL is invalid, the fetch fails, or no model chunks are present.