Review the provider at core/providers/$ARGUMENTS/ for:
- Structure compliance: Verify it has
src/configs/,src/models/,src/provider/directories - Type safety: Check all Zod schemas are properly defined and exported
- Error handling: Verify provider errors are mapped to
GatewayErrorsubclasses - Package.json: Check
@adaline/typesand@adaline/providerareworkspace:*dependencies - Build: Verify
tsup.config.tsproduces ESM + CJS + types output - Exports: Check the package exports from
src/index.tscorrectly
Compare with core/providers/openai/ as the reference implementation and report any deviations or issues.
Source: adaline/gateway — distributed by TomeVault.