summaryrefslogtreecommitdiff
path: root/Omni/Agent/Engine.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-11-30 20:54:58 -0500
committerBen Sima <ben@bensima.com>2025-11-30 20:54:58 -0500
commit194173619e0e1940284f4d4fa3de49f5197636c1 (patch)
tree8bf8a312b5c804173ae3841322fee159b2a53ea4 /Omni/Agent/Engine.hs
parentc156247790c54e9e20f574d8238d7c47dec29b19 (diff)
Fix jr loop: update model IDs and dev shellHEADlive
- 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/Engine.hs')
-rw-r--r--Omni/Agent/Engine.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Omni/Agent/Engine.hs b/Omni/Agent/Engine.hs
index 2704606..e019341 100644
--- a/Omni/Agent/Engine.hs
+++ b/Omni/Agent/Engine.hs
@@ -77,7 +77,7 @@ test =
llmBaseUrl defaultLLM Test.@=? "https://openrouter.ai/api/v1",
Test.unit "defaultLLM has OpenRouter headers" <| do
length (llmExtraHeaders defaultLLM) Test.@=? 2
- llmModel defaultLLM Test.@=? "anthropic/claude-sonnet-4-20250514",
+ llmModel defaultLLM Test.@=? "anthropic/claude-sonnet-4.5",
Test.unit "defaultAgentConfig has sensible defaults" <| do
agentMaxIterations defaultAgentConfig Test.@=? 10,
Test.unit "defaultEngineConfig has no-op callbacks" <| do
@@ -227,7 +227,7 @@ defaultLLM =
LLM
{ llmBaseUrl = "https://openrouter.ai/api/v1",
llmApiKey = "",
- llmModel = "anthropic/claude-sonnet-4-20250514",
+ llmModel = "anthropic/claude-sonnet-4.5",
llmExtraHeaders =
[ ("HTTP-Referer", "https://omni.dev"),
("X-Title", "Omni Agent")