@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/index.js
CHANGED
|
@@ -11299,8 +11299,6 @@ function runOrchestrator(opts) {
|
|
|
11299
11299
|
return query({
|
|
11300
11300
|
prompt,
|
|
11301
11301
|
options: {
|
|
11302
|
-
debug: true,
|
|
11303
|
-
debugFile: "/dev/stderr",
|
|
11304
11302
|
stderr: (data) => {
|
|
11305
11303
|
process.stderr.write(`[orchestrator-sdk] ${data}
|
|
11306
11304
|
`);
|
|
@@ -13426,7 +13424,7 @@ ${userMessage}
|
|
|
13426
13424
|
try {
|
|
13427
13425
|
await client.reportUsage({
|
|
13428
13426
|
taskId,
|
|
13429
|
-
estimatedCost: result.total_cost_usd
|
|
13427
|
+
estimatedCost: Math.round(result.total_cost_usd * 1e6) / 1e6
|
|
13430
13428
|
});
|
|
13431
13429
|
} catch {
|
|
13432
13430
|
log.warn(`Failed to report usage for task ${taskId}`);
|