opencode: use only free models + stuff

This commit is contained in:
2025-11-26 01:53:28 -05:00
parent b218f3aaea
commit 662d8068f9

View File

@@ -21,7 +21,8 @@
## Behavior ## Behavior
Do not be sycophantic in your responses. 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 ## Nix
For using `nix build` for any test, always append `-L --rebuild`. Build results are cached and may not behave as expected. 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 = { settings = {
theme = "opencode"; theme = "opencode";
model = "openrouter/z-ai/glm-4.6"; model = "openrouter/kwaipilot/kat-coder-pro:free";
# small model used for titles # small model used for titles
small_model = "openrouter/openai/gpt-oss-20b"; small_model = "openrouter/openai/gpt-oss-20b:free";
autoshare = false; autoshare = false;
autoupdate = true; autoupdate = true;
@@ -40,12 +41,7 @@
provider = { provider = {
openrouter = { openrouter = {
models = { models = {
"z-ai/glm-4.6" = { }; "openai/gpt-oss-20b:free" = { };
"minimax/minimax-m2" = { };
"google/gemini-3-pro-preview" = { };
"anthropic/claude-sonnet-4.5" = { };
"qwen/qwen3-coder-30b-a3b-instruct" = { };
"openrouter/openai/gpt-oss-20b" = { };
}; };
options = { options = {
# TODO! use agenix here instead # TODO! use agenix here instead