@bivelio/savings-layer 0.4.26 → 0.4.29
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 +118 -13
- package/dist/adapters/ai-sdk.js +73 -73
- package/dist/adapters/anthropic-sdk.js +67 -66
- package/dist/adapters/langchain.js +60 -58
- package/dist/adapters/mastra.js +65 -65
- package/dist/gateway/bin.js +604 -593
- package/dist/index.d.ts +312 -10
- package/dist/index.js +1308 -1200
- package/package.json +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bivelio/savings-layer",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.29",
|
|
4
4
|
"description": "The savings layer for your LLM bill: a library inside your code that lets through only what has to be paid for and returns a SavingsReport per call, measured with your provider's own meter and kept apart from estimates. Commercial license, paid per seat, commission only on measured savings. Your prompts never leave your infrastructure.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"llm",
|
|
@@ -92,6 +92,7 @@
|
|
|
92
92
|
"example:mastra": "BVSALA_DEV_OPEN=1 tsx examples/stacks/mastra/bivelio-check.ts",
|
|
93
93
|
"example:langchain": "BVSALA_DEV_OPEN=1 tsx examples/stacks/langchain/bivelio-check.ts",
|
|
94
94
|
"example:anthropic-sdk": "BVSALA_DEV_OPEN=1 tsx examples/stacks/anthropic-sdk/bivelio-check.ts",
|
|
95
|
+
"example:litellm": "BVSALA_DEV_OPEN=1 tsx examples/litellm/check.ts",
|
|
95
96
|
"init:ejemplos": "tsx scripts/ejemplos-de-init.ts",
|
|
96
97
|
"example:licensed": "tsx examples/licensing/licensed.ts",
|
|
97
98
|
"license:demo": "tsx examples/licensing/demo.ts",
|
|
@@ -129,6 +130,8 @@
|
|
|
129
130
|
"cache-semantica:publicar": "tsx benchmarks/cache-semantica/publicar.ts",
|
|
130
131
|
"latencia:gateways": "tsx benchmarks/latencia-gateways/arnes.ts",
|
|
131
132
|
"vigia:conexiones": "tsx benchmarks/latencia-gateways/vigia-conexiones.ts",
|
|
133
|
+
"litellm:e2e": "tsx benchmarks/delante-de-litellm/e2e.ts",
|
|
134
|
+
"catalogo:contraste": "tsx scripts/contraste-catalogo.ts",
|
|
132
135
|
"cache-semantica:calibrada": "BVSALA_DEV_OPEN=1 tsx benchmarks/cache-semantica/calibrada.ts",
|
|
133
136
|
"cache-semantica:simulacion": "tsx benchmarks/cache-semantica/simulacion.ts"
|
|
134
137
|
},
|