diff options
| author | Ben Sima <ben@bensima.com> | 2025-11-30 20:54:58 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-11-30 20:54:58 -0500 |
| commit | 194173619e0e1940284f4d4fa3de49f5197636c1 (patch) | |
| tree | 8bf8a312b5c804173ae3841322fee159b2a53ea4 /Omni/Agent/Worker.hs | |
| parent | c156247790c54e9e20f574d8238d7c47dec29b19 (diff) | |
- Update OpenRouter model IDs to Claude 4.5 family:
- anthropic/claude-sonnet-4.5 (default) - anthropic/claude-haiku-4.5
(simple tasks) - anthropic/claude-opus-4.5 (complex tasks)
- Remove aider-chat from dev shell (broken, unused) - Simplify
llm package (remove llm-ollama plugin) - Update nixos-unstable for
llm 0.27.1
Task-Id: t-163
Diffstat (limited to 'Omni/Agent/Worker.hs')
| -rw-r--r-- | Omni/Agent/Worker.hs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Omni/Agent/Worker.hs b/Omni/Agent/Worker.hs index ded4144..61c392b 100644 --- a/Omni/Agent/Worker.hs +++ b/Omni/Agent/Worker.hs @@ -343,13 +343,13 @@ selectModel task = selectModelByComplexity (TaskCore.taskComplexity task) -- | Select model based on complexity level selectModelByComplexity :: Maybe Int -> Text -selectModelByComplexity Nothing = "anthropic/claude-sonnet-4-20250514" -selectModelByComplexity (Just 1) = "anthropic/claude-haiku" -selectModelByComplexity (Just 2) = "anthropic/claude-haiku" -selectModelByComplexity (Just 3) = "anthropic/claude-sonnet-4-20250514" -selectModelByComplexity (Just 4) = "anthropic/claude-sonnet-4-20250514" -selectModelByComplexity (Just 5) = "anthropic/claude-opus-4-20250514" -selectModelByComplexity (Just _) = "anthropic/claude-sonnet-4-20250514" +selectModelByComplexity Nothing = "anthropic/claude-sonnet-4.5" +selectModelByComplexity (Just 1) = "anthropic/claude-haiku-4.5" +selectModelByComplexity (Just 2) = "anthropic/claude-haiku-4.5" +selectModelByComplexity (Just 3) = "anthropic/claude-sonnet-4.5" +selectModelByComplexity (Just 4) = "anthropic/claude-sonnet-4.5" +selectModelByComplexity (Just 5) = "anthropic/claude-opus-4.5" +selectModelByComplexity (Just _) = "anthropic/claude-sonnet-4.5" formatTask :: TaskCore.Task -> Text formatTask t = |
