# pi-synthetic: v0.22.0

release · 2026-07-16 · #pi-synthetic · v0.22.0

### Minor Changes

- f74cc65: Synchronize Synthetic models from the provider API

  - Provider models are now fetched asynchronously from `https://api.synthetic.new/openai/v1/models` using Pi 0.80.8's `ProviderConfig.refreshModels` API.
  - Discovered models are persisted through `context.store` with a 4-hour TTL, so the catalog is available offline and refresh is cheap when the cache is fresh.
  - The hardcoded catalog is kept as an offline fallback and as the override source for model-specific compatibility settings (`thinkingLevelMap`, `compat`) that the API does not expose.
  - Removed the `proxiedModels` setting and alias resolution; Synthetic no longer distinguishes proxied models, and the API returns `syn:*` entries as concrete models.
  - Updated auth resolution to use `ModelRegistry.getApiKeyForProvider` for compatibility with Pi 0.80.8.

- [GitHub release](https://github.com/aliou/pi-synthetic/releases/tag/v0.22.0)
- [npm](https://www.npmjs.com/package/@aliou/pi-synthetic/v/0.22.0)
