Update claude impl

This commit is contained in:
Colin McDonnell
2026-01-12 14:10:21 -08:00
parent 45f837cedb
commit edb7603587
3 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -8,9 +8,9 @@ import { agent, createAgentEnv, installFromNpmTarball } from "./shared.ts";
// Model selection based on effort level
// Note: nothink uses Haiku for speed, think uses Sonnet for balance, max uses Opus for capability
const claudeEffortModels: Record<Effort, string> = {
nothink: "claude-haiku-4-5-20250929",
think: "claude-sonnet-4-5-20250929",
max: "claude-opus-4-5-20250929",
nothink: "haiku",
think: "opusplan",
max: "opus",
};
// FUTURE: Consider using Anthropic's "effort" parameter (beta) with Opus 4.5 for all tasks.
+3 -3
View File
@@ -16,9 +16,9 @@ Claude Code uses model selection based on effort level.
| Effort | Model | Description |
|--------|-------|-------------|
| `nothink` | `claude-haiku-4-5-20250929` | Fast, efficient (Haiku) |
| `think` | `claude-sonnet-4-5-20250929` | Balanced (Sonnet) |
| `max` | `claude-opus-4-5-20250929` | Maximum capability (Opus) |
| `nothink` | `haiku` | Fast, efficient |
| `think` | `opusplan` | Opus for planning, Sonnet for execution |
| `max` | `opus` | Full Opus |
> **Future direction:** Anthropic's beta `effort` parameter (`low`/`medium`/`high`) could replace model selection, using Opus 4.5 for all tasks with effort controlling token spend. See [Anthropic Effort Docs](https://platform.claude.com/docs/en/build-with-claude/effort).
+3 -3
View File
@@ -104748,9 +104748,9 @@ var agent = (input) => {
// agents/claude.ts
var claudeEffortModels = {
nothink: "claude-haiku-4-5-20250929",
think: "claude-sonnet-4-5-20250929",
max: "claude-opus-4-5-20250929"
nothink: "haiku",
think: "opusplan",
max: "opus"
};
var claude = agent({
name: "claude",