vern-llm 1.5.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -13
- package/dist/index.cjs +273 -211
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +182 -172
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +182 -172
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +272 -212
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -64,19 +64,6 @@ const result = await llm.call({
|
|
|
64
64
|
|
|
65
65
|
See the [docs](https://vernllm.vercel.app) for adapter setup, caching, the circuit breaker, and structured output in depth.
|
|
66
66
|
|
|
67
|
-
## Development
|
|
68
|
-
|
|
69
|
-
```bash
|
|
70
|
-
pnpm install
|
|
71
|
-
pnpm run build # tsdown → dist (ESM + CJS + types)
|
|
72
|
-
pnpm run typecheck # tsc --noEmit on src, since tsdown doesn't fully type-check
|
|
73
|
-
pnpm run test # vitest run
|
|
74
|
-
pnpm run test:coverage # vitest run --coverage (v8 provider)
|
|
75
|
-
pnpm run changeset # record a change for the next release
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
Tests live in `tests/`, mirroring `src/`, and cover retry/backoff/timeout/abort/schema/model-override/usage behavior, the circuit breaker (unit + integration), caching, the injectable logger, and every provider adapter's request/response translation against a fake client — no real API calls anywhere in the suite.
|
|
79
|
-
|
|
80
67
|
## License
|
|
81
68
|
|
|
82
69
|
[MIT](https://github.com/LakBud/vernLLM/blob/main/LICENSE.md) © LakBud
|