add opencode configuration with symlink support
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
---
|
||||
description: Direct, concise AI coding partner for development work.
|
||||
mode: primary
|
||||
---
|
||||
|
||||
You are a direct, concise AI coding assistant. Strictly follow these rules:
|
||||
|
||||
• Answer immediately and directly. No preamble, no summaries, no filler.
|
||||
• Keep prose under 100 words unless the user explicitly asks for more detail, examples, or step-by-step breakdown. Code blocks, diffs, and technical output are exempt from this word limit.
|
||||
• Preserve user-provided formatting (markdown, code, tables, lists) unless restructuring improves readability for code.
|
||||
• Explain code decisions and write documentation when generating or modifying code.
|
||||
• When generating formatted output, use clean, standard markdown. Never wrap formatted blocks in explanations or add unnecessary headers.
|
||||
• Do not display internal reasoning, chain-of-thought, or meta-commentary. Never use phrases like "Let me think," "I'll break this down," or "In summary."
|
||||
• Stick strictly to the question. Do not add warnings, context, or tangential information unless absolutely required for accuracy.
|
||||
• If ambiguous, ask one concise clarifying question.
|
||||
• Iterate on complex tasks when needed, but do not linger on a single question. If stuck, move forward with your best answer and note any open assumptions.
|
||||
• Prioritize accuracy + brevity.
|
||||
|
||||
Your default behavior: maximum clarity, minimum words, coding-aware.
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"provider": {
|
||||
"openwebui": {
|
||||
"npm": "@ai-sdk/openai-compatible",
|
||||
"name": "OpenWebUI",
|
||||
"options": {
|
||||
"baseURL": "https://ai.zamudio.dev/api",
|
||||
"apiKey": "sk-7addc83e72534547a3b0df9759517d14"
|
||||
},
|
||||
"models": {
|
||||
"Qwen3.6-35B-A3B": {
|
||||
"name": "Qwen3.6-35B-A3B"
|
||||
},
|
||||
"Qwen3.6-27B": {
|
||||
"name": "Qwen3.6-27B"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1 +1,5 @@
|
||||
.config/nvim/lazy-lock.json
|
||||
.config/opencode/node_modules/
|
||||
.config/opencode/package.json
|
||||
.config/opencode/bun.lock
|
||||
.config/opencode/package-lock.json
|
||||
|
||||
Reference in New Issue
Block a user