mirror of
https://github.com/theniceboy/.config.git
synced 2026-07-16 22:01:21 +08:00
agent config update
This commit is contained in:
parent
3391d2be7c
commit
fc4221baf8
7 changed files with 122 additions and 122 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# CRITICAL WORKFLOW REQUIREMENT
|
||||
- You MUST NOT add comments that describe the change they just made (e.g., “removed”, “legacy”, “cleanup”, “hotfix”, “flag removed”, “temporary workaround”).
|
||||
- You MUST NOT add comments that describe the change they just made (e.g., "removed", "legacy", "cleanup", "hotfix", "flag removed", "temporary workaround").
|
||||
- Only add comments for genuinely non‑obvious, persistent logic or external invariants. Keep such comments short (max 2 lines).
|
||||
- When migrating or refactoring code, do not leave legacy code. Remove all deprecated or unused code.
|
||||
- Put change reasoning in your plan/final message — not in code.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"autoupdate": true,
|
||||
"model": "cliproxy/gpt-5.5",
|
||||
"autoupdate": false,
|
||||
"small_model": "zai-coding-plan/glm-4.7",
|
||||
"agent": {
|
||||
"build": {
|
||||
|
|
@ -11,6 +10,7 @@
|
|||
"color": "#8be9fd"
|
||||
}
|
||||
},
|
||||
"disabled_providers": ["zen", "cloudflare", "cloudflare-ai-gateway", "cloudflare-workers-ai", "opencode-go", "amazon-bedrock", "ollama-cloud"],
|
||||
"compaction": {
|
||||
"auto": false
|
||||
},
|
||||
|
|
@ -26,6 +26,9 @@
|
|||
"extensions": [
|
||||
".dart"
|
||||
]
|
||||
},
|
||||
"biome": {
|
||||
"disabled": true
|
||||
}
|
||||
},
|
||||
"permission": {
|
||||
|
|
@ -39,7 +42,12 @@
|
|||
"mcp": {
|
||||
"web": {
|
||||
"type": "remote",
|
||||
"url": "http://dmini:8765/searcher/mcp",
|
||||
"url": "http://127.0.0.1:8775/searcher/mcp",
|
||||
"enabled": true
|
||||
},
|
||||
"rednote": {
|
||||
"type": "remote",
|
||||
"url": "http://127.0.0.1:8776/rednote-evidence/mcp",
|
||||
"enabled": true
|
||||
},
|
||||
"pinchtab": {
|
||||
|
|
@ -69,55 +77,14 @@
|
|||
"--stdio"
|
||||
],
|
||||
"enabled": false
|
||||
}
|
||||
},
|
||||
"provider": {
|
||||
"cliproxy": {
|
||||
"api": "openai",
|
||||
"name": "CLIProxyAPI (dmini)",
|
||||
"options": {
|
||||
"apiKey": "sk-dummy",
|
||||
"baseURL": "http://dmini:8317/v1"
|
||||
},
|
||||
"models": {
|
||||
"gpt-5.5": {
|
||||
"name": "gpt-5.5",
|
||||
"tool_call": true,
|
||||
"reasoning": true,
|
||||
"limit": {
|
||||
"context": 200000,
|
||||
"output": 32000
|
||||
}
|
||||
},
|
||||
"gpt-5.4-mini": {
|
||||
"name": "gpt-5.4-mini",
|
||||
"tool_call": true,
|
||||
"reasoning": true,
|
||||
"limit": {
|
||||
"context": 128000,
|
||||
"output": 16384
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"rapidmlx": {
|
||||
"api": "openai",
|
||||
"name": "Rapid-MLX Local",
|
||||
"options": {
|
||||
"apiKey": "not-needed",
|
||||
"baseURL": "http://127.0.0.1:8001/v1"
|
||||
},
|
||||
"models": {
|
||||
"default": {
|
||||
"name": "rapid-mlx local",
|
||||
"tool_call": true,
|
||||
"reasoning": true,
|
||||
"limit": {
|
||||
"context": 32768,
|
||||
"output": 8192
|
||||
}
|
||||
}
|
||||
}
|
||||
"imagegen": {
|
||||
"type": "local",
|
||||
"command": [
|
||||
"node",
|
||||
"/Users/david/.config/opencode/tool/imagegen-mcp.mjs"
|
||||
],
|
||||
"enabled": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue