osborn 0.9.207 → 0.9.208
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/claude-llm.js +7 -0
- package/package.json +1 -1
package/dist/claude-llm.js
CHANGED
|
@@ -179,6 +179,13 @@ ensureCompactionSettings();
|
|
|
179
179
|
// also depends on account entitlement (auto on Team seats; else usage credits).
|
|
180
180
|
process.env.ENABLE_1M_CONTEXT = '1';
|
|
181
181
|
process.env.CLAUDE_AUTOCOMPACT_PCT_OVERRIDE = '75'; // auto-compact at 75% of 1M context (750k tokens) — prevents compaction at extreme tail
|
|
182
|
+
// Lock Claude Code's internal "small/fast" model slot to Haiku so background
|
|
183
|
+
// tasks (summaries, quick completions, agent scaffolding) never silently
|
|
184
|
+
// default to a full-tier model. The main conversational model is set per-query
|
|
185
|
+
// via options.model — this only covers the SDK's internal non-main operations.
|
|
186
|
+
if (!process.env.ANTHROPIC_SMALL_FAST_MODEL) {
|
|
187
|
+
process.env.ANTHROPIC_SMALL_FAST_MODEL = 'claude-haiku-4-5-20251001';
|
|
188
|
+
}
|
|
182
189
|
// Research mode tools — full research capabilities
|
|
183
190
|
// Named sub-agents — the orchestrator delegates to these specialists. Each has
|
|
184
191
|
// a specific role, model, and tool set. Module-level + exported so the HTTP
|