@llm4ts/flow 4.16.0 → 4.17.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/package.json +2 -2
- package/src/EstimatedUsage.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@llm4ts/flow",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.17.0",
|
|
4
4
|
"description": "Effect-native LLM workflow, persistence, review, and repository automation",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"typescript"
|
|
139
139
|
],
|
|
140
140
|
"dependencies": {
|
|
141
|
-
"@llm4ts/core": "4.
|
|
141
|
+
"@llm4ts/core": "4.17.0"
|
|
142
142
|
},
|
|
143
143
|
"peerDependencies": {
|
|
144
144
|
"effect": "4.1.5"
|
package/src/EstimatedUsage.ts
CHANGED
|
@@ -8,8 +8,8 @@ import { LabelDistribution, LlmChunk, TokenUsage, type Message } from "@llm4ts/c
|
|
|
8
8
|
import { estimateCostUsd } from "./PriceList.ts"
|
|
9
9
|
import { settingGiven, settingValue } from "./Settings.ts"
|
|
10
10
|
|
|
11
|
-
// ESTIMATED token accounting for connectors that report none (
|
|
12
|
-
//
|
|
11
|
+
// ESTIMATED token accounting for connectors that report none (Cursor on
|
|
12
|
+
// the capability matrix; every backend whose
|
|
13
13
|
// `usageReporting` is false). The decorator counts characters on both sides
|
|
14
14
|
// of each request and, when the backend reported nothing, carries the
|
|
15
15
|
// estimate back on the value the caller already reads — a synthetic final
|