Patch Changes
-
#599
c72bb8bThanks @threepointone! - fix: default third-party catalog slugs to the account gateway on the Workers AI binding pathcreateWorkersAiChatin plain binding mode ({ binding: env.AI }, nogateway) calledenv.AI.run(model, inputs)with no gateway. That works for@cf/*models, but third-party"<vendor>/<model>"unified-billing catalog slugs (e.g.deepseek/deepseek-v4-pro) must route through an AI Gateway, so they never engaged unified billing.The binding shim now detects a non-
@cf/non-dynamiccatalog slug and defaults it to the account"default"gateway (an explicitly configuredgatewaystill wins).@cf/*anddynamic/*models keep the plain binding path unchanged. Resume only engages when a gateway was explicitly configured — the catalog auto-default is a routing concern, not a resume opt-in.