Skip to content

fix(ai): align catalog and tests with Cloudflare gateway rescope - #4

Draft
Dmatut7 wants to merge 3 commits into
mainfrom
cursor/catalog-ci-main-0d9b
Draft

Dmatut7 wants to merge 3 commits into
mainfrom
cursor/catalog-ci-main-0d9b

Conversation

@Dmatut7

@Dmatut7 Dmatut7 commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Context

CI on main-targeting PRs fails after live generate-models during npm run build: models.dev rescoped cloudflare-ai-gateway and dropped workers-ai/@cf/... mirrors that tests still reference (TS2345 + getModel() → undefined). Same fix as upstream #1759 (ENG-5534).

Catalog-only branch based on main (does not include the second-window daemon fix).

Changes

  • Regenerated models.generated.ts
  • Prime Inference maxTokens metadata for minimax-m2.7 / kimi-k2.6
  • Default cloudflare-ai-gatewayclaude-sonnet-4.5
  • Tests/docs aligned; mocked /compat tests use a synthetic gateway model from the live Workers AI entry
  • Stale force-push failure note in git-update.test.ts

Validation

  • npm run check green; generate-models idempotent
  • Keyless packages/ai with PI_NO_LOCAL_LLM=1: 325 passed / 720 skipped
  • model-resolver.test.ts 39 passed

After this lands, rebase PR #1 so its CI is no longer blocked by catalog drift.

Open in Web Open in Cursor 

models.dev dropped workers-ai/@cf/... mirrors from cloudflare-ai-gateway.
Regenerate the catalog, point the gateway default at claude-sonnet-4.5,
and update tests so CI generate-models no longer fails typecheck/runtime.
…tests

The suite already passes for force-pushed remotes; the header comment was outdated.
coding-agent shard 2/3 timed out on ipython-bootstrap cwd-edit test in CI;
the same file passes locally in ~1.5s and is unrelated to the catalog change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants