@apowerb/apowerb-sdk 0.1.13 → 0.1.15

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/api.js +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apowerb/apowerb-sdk",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "JavaScript SDK for the apowerb backend: agents, tools, RAG, BI, webhooks and billing. Dependency-free, runs in the browser and in Node.",
5
5
  "license": "MIT",
6
6
  "repository": {
package/src/api.js CHANGED
@@ -203,6 +203,12 @@ export const getToolsDocs = () => request("/api/tools/docs");
203
203
 
204
204
  export const getModels = () => request("/api/models");
205
205
 
206
+ // Consommation du mois sur le modèle mutualisé « thaink2/default » : jetons
207
+ // facturés à thaink2, mois calendaire de Paris. `limit_tokens` et ce qui en
208
+ // découle restent null tant qu'aucune brique ne plafonne — le noyau compte,
209
+ // il ne plafonne pas.
210
+ export const getDefaultLlmUsage = () => request("/api/config/default-llm/usage");
211
+
206
212
  // --- MCP Configs ---
207
213
  export const listMcpConfigs = () => request("/api/mcp_configs");
208
214