opencode: use only free models + stuff

This commit is contained in:
Simon Gardling 2025-11-26 01:53:28 -05:00
parent b218f3aaea
commit 662d8068f9
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -21,7 +21,8 @@
## Behavior
Do not be sycophantic in your responses.
Do not use emojis unless explicitly asked.
Do not use emojis unless explicitly asked to. This includes in code.
ALWAYS test code before returning to the user with something you think works. Always verify your work.
## Nix
For using `nix build` for any test, always append `-L --rebuild`. Build results are cached and may not behave as expected.
@ -29,9 +30,9 @@
settings = {
theme = "opencode";
model = "openrouter/z-ai/glm-4.6";
model = "openrouter/kwaipilot/kat-coder-pro:free";
# small model used for titles
small_model = "openrouter/openai/gpt-oss-20b";
small_model = "openrouter/openai/gpt-oss-20b:free";
autoshare = false;
autoupdate = true;
@ -40,12 +41,7 @@
provider = {
openrouter = {
models = {
"z-ai/glm-4.6" = { };
"minimax/minimax-m2" = { };
"google/gemini-3-pro-preview" = { };
"anthropic/claude-sonnet-4.5" = { };
"qwen/qwen3-coder-30b-a3b-instruct" = { };
"openrouter/openai/gpt-oss-20b" = { };
"openai/gpt-oss-20b:free" = { };
};
options = {
# TODO! use agenix here instead