@loonylabs/llm-middleware 2.12.0 → 2.12.1
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.
|
@@ -39,7 +39,7 @@ export interface TokenUsage {
|
|
|
39
39
|
outputTokens: number;
|
|
40
40
|
/** Total tokens (inputTokens + outputTokens) */
|
|
41
41
|
totalTokens: number;
|
|
42
|
-
/** Cost of the request in
|
|
42
|
+
/** Cost of the request in USD (optional, provider-specific) */
|
|
43
43
|
cost?: number;
|
|
44
44
|
/** Cache-related token counts (optional, provider-specific) */
|
|
45
45
|
cacheMetadata?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loonylabs/llm-middleware",
|
|
3
|
-
"version": "2.12.
|
|
3
|
+
"version": "2.12.1",
|
|
4
4
|
"description": "Complete middleware infrastructure for LLM-based backends with multi-provider support (Ollama, Anthropic, OpenAI, Google)",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|