Skip to content

Sysone 0.2.0 — providers and models

Choose a tag to compare

@6uimorais 6uimorais released this 19 Sep 06:52
· 21 commits to main since this release

Sysone 0.2.0 separates provider connections from model selection. A single provider can serve multiple evaluation models, including concurrent requests, without binding the connection to Jev.

const gateway = vercel({ apiKey });
const sys = createSysone({
  provider: gateway,
  model: 'typesafe-ai/jev',
});

Breaking changes:

  • vercel(options), typesafe(options) and systemOne(options) now return reusable providers. createSysone requires both provider and an explicit model ID.
  • Custom integrations implement EvaluationProvider with id and receive { model, state, questions } per request. The model-bound EvaluationModel contract is replaced.
  • systemOne's optional transport label is now id.
  • Gateway extensions remain namespaced in metadata.providerMetadata; the TypeSafe-only projection into answer.confidence is removed. Native System One confidence is unchanged.

Model IDs are provider catalog IDs. Unsupported models fail without silent fallback. No additional live Gateway models are advertised by this change.

The README includes migration examples, and sysone.help uses the new configuration. Validation: 28 tests, type checks, production build and isolated package installation. Tests cover concurrent models sharing one gateway, explicit selection through every adapter, and preservation of model-specific metadata.

The initial npm publication remains pending authentication. Install the release package:

npm install https://github.com/sysone-help/sysone/releases/download/v0.2.0/sysone-0.2.0.tgz

Node.js 22+ and ESM. The Vercel adapter additionally requires ai@7.0.105 and @ai-sdk/gateway@4.0.85.