@askalf/dario 2.4.1 → 2.4.2
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/proxy.js +4 -4
- package/package.json +1 -1
package/dist/proxy.js
CHANGED
|
@@ -571,11 +571,11 @@ export async function startProxy(opts = {}) {
|
|
|
571
571
|
const modelInfo = modelOverride ? ` (model: ${modelOverride})` : '';
|
|
572
572
|
console.log(`[dario] #${requestCount} ${req.method} ${urlPath}${modelInfo}`);
|
|
573
573
|
}
|
|
574
|
-
//
|
|
575
|
-
// context-management and prompt-caching-scope
|
|
576
|
-
//
|
|
574
|
+
// Conservative beta defaults — only betas confirmed safe for Max plans.
|
|
575
|
+
// context-management and prompt-caching-scope stripped: even with metadata.user_id,
|
|
576
|
+
// these may independently trigger Extra Usage billing (reported by @belangertrading).
|
|
577
577
|
const clientBeta = req.headers['anthropic-beta'];
|
|
578
|
-
let beta = 'oauth-2025-04-20,interleaved-thinking-2025-05-14,
|
|
578
|
+
let beta = 'oauth-2025-04-20,interleaved-thinking-2025-05-14,claude-code-20250219,advisor-tool-2026-03-01';
|
|
579
579
|
if (clientBeta) {
|
|
580
580
|
const filtered = filterBillableBetas(clientBeta);
|
|
581
581
|
if (filtered)
|