@questionbase/deskfree 0.4.4 → 0.4.5
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/dist/bin.js +1 -3
- package/dist/bin.js.map +1 -1
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -7797,8 +7797,6 @@ function runOrchestrator(opts) {
|
|
|
7797
7797
|
return query({
|
|
7798
7798
|
prompt,
|
|
7799
7799
|
options: {
|
|
7800
|
-
debug: true,
|
|
7801
|
-
debugFile: "/dev/stderr",
|
|
7802
7800
|
stderr: (data) => {
|
|
7803
7801
|
process.stderr.write(`[orchestrator-sdk] ${data}
|
|
7804
7802
|
`);
|
|
@@ -13651,7 +13649,7 @@ ${userMessage}
|
|
|
13651
13649
|
try {
|
|
13652
13650
|
await client.reportUsage({
|
|
13653
13651
|
taskId,
|
|
13654
|
-
estimatedCost: result.total_cost_usd
|
|
13652
|
+
estimatedCost: Math.round(result.total_cost_usd * 1e6) / 1e6
|
|
13655
13653
|
});
|
|
13656
13654
|
} catch {
|
|
13657
13655
|
log.warn(`Failed to report usage for task ${taskId}`);
|