fix opencode + use free model

This commit is contained in:
2026-01-12 14:20:19 -05:00
parent d2f7e1a376
commit 896310a2d4
2 changed files with 7 additions and 7 deletions

12
flake.lock generated
View File

@@ -271,11 +271,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1767866249, "lastModified": 1768227710,
"narHash": "sha256-34M8rysW3vuOYijI/Ns59bPkKPecaQW5oOupR45IRwQ=", "narHash": "sha256-m6GRI1hzt/jfKaPyyraxUCi0HAc6ROwasemyeWGulJA=",
"owner": "numtide", "owner": "numtide",
"repo": "llm-agents.nix", "repo": "llm-agents.nix",
"rev": "7173b37ee4ff714e34dab539aeccb0cc7e4b24dc", "rev": "321aab84a04492df7230090eabc61fa0b224a106",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -553,11 +553,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1767801790, "lastModified": 1768158989,
"narHash": "sha256-QfX6g3Wj2vQe7oBJEbTf0npvC6sJoDbF9hb2+gM5tf8=", "narHash": "sha256-67vyT1+xClLldnumAzCTBvU0jLZ1YBcf4vANRWP3+Ak=",
"owner": "numtide", "owner": "numtide",
"repo": "treefmt-nix", "repo": "treefmt-nix",
"rev": "778a1d691f1ef45dd68c661715c5bf8cbf131c80", "rev": "e96d59dff5c0d7fddb9d113ba108f03c3ef99eca",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -33,7 +33,7 @@
settings = { settings = {
theme = "opencode"; theme = "opencode";
model = "openrouter/minimax/minimax-m2.1"; model = "opencode/glm-4.7-free";
# small model used for titles # small model used for titles
small_model = "openrouter/openai/gpt-oss-20b:free"; small_model = "openrouter/openai/gpt-oss-20b:free";