opencode: things
This commit is contained in:
parent
6597665864
commit
2b16ceb583
@ -12,28 +12,35 @@
|
|||||||
If instructed to commit, disable gpg signing.
|
If instructed to commit, disable gpg signing.
|
||||||
You are on nixOS, if you don't have access to a tool, you can access it via the `nix-shell` command.
|
You are on nixOS, if you don't have access to a tool, you can access it via the `nix-shell` command.
|
||||||
|
|
||||||
## Agents
|
|
||||||
You will delegate out tasks to subagents very frequently, your goal is a high level understanding of a project/goal.
|
|
||||||
|
|
||||||
## Think deeply about everything.
|
## Think deeply about everything.
|
||||||
When given a problem, break it down, abstract it out, understand the fundamentals, then solve it in the real world.
|
When given a problem, break it down, abstract it out, understand the fundamentals, then solve it in the real world.
|
||||||
|
|
||||||
## Misc
|
## Misc
|
||||||
For long-running commands, make sure you set the timeout of the Bash tool provided to a larger value.
|
For long-running commands, make sure you set the timeout of the Bash tool provided to a larger value.
|
||||||
|
Do NOT read secret files. Do not directly read files that are api keys or are contextually sensitive.
|
||||||
|
|
||||||
|
## Nix
|
||||||
|
For using `nix build` for any test, always append `-L --rebuild`. Build results are cached and may not behave as expected.
|
||||||
'';
|
'';
|
||||||
settings = {
|
settings = {
|
||||||
theme = "opencode";
|
theme = "opencode";
|
||||||
|
|
||||||
model = "z-ai/glm-4.6:floor";
|
model = "openrouter/z-ai/glm-4.6";
|
||||||
# small model used for titles
|
# small model used for titles
|
||||||
small_model = "z-ai/glm-4-32b:floor";
|
small_model = "openrouter/qwen/qwen3-coder-30b-a3b-instruct";
|
||||||
|
|
||||||
autoshare = false;
|
autoshare = false;
|
||||||
autoupdate = true;
|
autoupdate = true;
|
||||||
|
agent = {
|
||||||
|
};
|
||||||
provider = {
|
provider = {
|
||||||
openrouter = {
|
openrouter = {
|
||||||
models = {
|
models = {
|
||||||
# put models here
|
"z-ai/glm-4.6" = { };
|
||||||
|
"minimax/minimax-m2" = { };
|
||||||
|
"google/gemini-3-pro-preview" = { };
|
||||||
|
"anthropic/claude-sonnet-4.5" = { };
|
||||||
|
"qwen/qwen3-coder-30b-a3b-instruct" = { };
|
||||||
};
|
};
|
||||||
options = {
|
options = {
|
||||||
# TODO! use agenix here instead
|
# TODO! use agenix here instead
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user