Sync native provider controls and render Ant Ling docs #292
main fromissue-native-source-finalization·merged by tombeckenham View on GitHubAnt Ling sync received CAPTCHA pages instead of native documentation. This change uses Cloudflare Browser Rendering as its primary reader, validates the exact source URL and article before caching, and extracts the provider's actual model tables, prices, and API schema. All six remote reads and eight parsed models passed with the existing production compatibility date.
OpenRouter and Together now derive the remaining published thinking controls and wire bodies from their own current catalog and normative documentation. Unknown request maps remain null; polling clears prior unsourced maps. Present malformed native reasoning metadata produces errors. Exact-model source-silence audits cover unpublished facts without filling values or changing raw completeness totals. models.dev remains a first-party source only for OpenCode Zen/Go.
Validation: native source captures and hashes; 17 audit documents with 1,168 exact scopes checked against actual native facts; real Worker/D1 browser-ingestion and stale-map-clearing regressions; focused tests, format/lint/full TypeScript, and required CI. Production acceptance is checked after deployment using the actual public catalog.
Part of #265, #267, #269, and #270. NVIDIA's remaining source identity conflicts are handled separately and receive no source-silence exemptions.
- 1
Reviewed exact signed head
93e3f04d19e113c9488b1ebec17c07d12db0ba08.No blocking findings. The Ant reader requires the configured native Browser Rendering binding, validates native status/final URL/article and cached content, and has no recovery fetch. All six actual remote reads and eight-model parsing passed with the unchanged production compatibility date and deployed reader options. Native HTML supplies schema constraints, prices, IDs, and hashes; unknown values stay null.
OpenRouter/Together controls and wire bodies derive serving-provider metadata and normative documentation. Malformed present metadata errors; unknown maps stay null and polling clears previous unsourced maps. OpenRouter's shared gateway schema cannot add per-model reasoning support; the two-poll Worker regression verifies native positives and clearing of a prior unsupported generic flag without inventing false.
The 17 source audits preserve verified exact-model scopes. Validation checked 1,175 entries / 1,168 scopes, native URLs/hashes, exact catalog identities, null leaves, and populated-fact exclusions. Source conflicts receive no exemptions. models.dev remains confined to OpenCode as its own provider source.
Validation passed: focused provider and actual Worker/D1 persistence regressions, source/schema capture audits, formatting, lint, full TypeScript including examples, and local build. Independent peer reviews cover the browser reader, both control parsers, null-map persistence, and native capability scoping. Required
cimust pass on this exact head before merge. Production public-API acceptance remains a post-deployment check.tombeckenham merged this04eee60
tombeckenham closed this
Sign in to join this conversation.
Deploying with
Cloudflare Workers#
The latest updates on your project. Learn more about integrating Git with Workers.
View logs
Branch Preview URL