Skip to content

Commit 76520f8

Browse files
author
ClawGuard Bot
committed
fix: restore documented example scripts
1 parent c6be808 commit 76520f8

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

examples/batch-content-generation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Respond in JSON format: {"description": "...", "sellingPoints": ["...", "...", "
5151
const submission = this.processor.formatForSubmission();
5252

5353
return {
54-
batchSize: this.processor.requestsQueue.length,
54+
batchSize: this.processor.queue.length,
5555
estimatedMetrics: metrics,
5656
readyForSubmission: submission,
5757
nextSteps: [

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
"test:all": "npm run test:monitor && npm run test:router && npm run test:cache",
1717
"test:monitor": "node test/cost-monitor.test.js",
1818
"test:router": "node test/model-router.test.js",
19-
"test:cache": "node test/response-cache.test.js"
19+
"test:cache": "node test/response-cache.test.js",
20+
"example:email": "node examples/email-classification.js",
21+
"example:batch": "node examples/batch-content-generation.js"
2022
},
2123
"keywords": [
2224
"claude-api",
@@ -43,4 +45,4 @@
4345
"url": "https://github.com/LvcidPsyche/claude-api-optimization/issues"
4446
},
4547
"homepage": "https://github.com/LvcidPsyche/claude-api-optimization#readme"
46-
}
48+
}

0 commit comments

Comments
 (0)