Merge branch 'main' of https://git.quodatum.duckdns.org/apb/ai-code
This commit is contained in:
commit
2b744a94a3
3 changed files with 15 additions and 1 deletions
|
|
@ -96,5 +96,6 @@ ENV PATH="/root/.opencode/bin:$PATH"
|
||||||
|
|
||||||
#USER 1000:1000
|
#USER 1000:1000
|
||||||
WORKDIR /workspace
|
WORKDIR /workspace
|
||||||
|
ENV EDITOR=nano
|
||||||
ENV SHELL=/bin/zsh
|
ENV SHELL=/bin/zsh
|
||||||
CMD ["/bin/zsh"]
|
CMD ["/bin/zsh"]
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,11 @@
|
||||||
"plugin": [],
|
"plugin": [],
|
||||||
"model": "halo/qwen3-coder-next:latest",
|
"model": "halo/qwen3-coder-next:latest",
|
||||||
"small_model": "gemma3:4b",
|
"small_model": "gemma3:4b",
|
||||||
|
"compaction": {
|
||||||
|
"auto": false,
|
||||||
|
"prune": true,
|
||||||
|
"reserved": 16000
|
||||||
|
},
|
||||||
"provider": {
|
"provider": {
|
||||||
"halo": {
|
"halo": {
|
||||||
"npm": "@ai-sdk/openai-compatible",
|
"npm": "@ai-sdk/openai-compatible",
|
||||||
|
|
@ -48,7 +53,7 @@
|
||||||
"output": 8192 // Output token limit
|
"output": 8192 // Output token limit
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"num_ctx": 16000, // Context window size for Ollama
|
"num_ctx": 64000, // Context window size for Ollama
|
||||||
"temperature": 1.0,
|
"temperature": 1.0,
|
||||||
"top_p": 0.95,
|
"top_p": 0.95,
|
||||||
"top_k": 40,
|
"top_k": 40,
|
||||||
|
|
@ -130,6 +135,13 @@
|
||||||
"/root/mcp/digitxml-mcp",
|
"/root/mcp/digitxml-mcp",
|
||||||
"/root/mcp/digitxml-mcp/mcp_server.py"
|
"/root/mcp/digitxml-mcp/mcp_server.py"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"xquery-mcp": {
|
||||||
|
"type": "local",
|
||||||
|
"enabled": true,
|
||||||
|
"command": [
|
||||||
|
"xquery-mcp",
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
1
zsh.add
1
zsh.add
|
|
@ -16,6 +16,7 @@ function agent() {
|
||||||
-v "$TARGET_DIR:/workspace" \
|
-v "$TARGET_DIR:/workspace" \
|
||||||
-v "$HOME/dev/ai/opencode.cfg:/root/.config/opencode" \
|
-v "$HOME/dev/ai/opencode.cfg:/root/.config/opencode" \
|
||||||
-v "$HOME/git/mcp:/root/mcp" \
|
-v "$HOME/git/mcp:/root/mcp" \
|
||||||
|
-v opencode-database:/root/.local/share/opencode" \
|
||||||
-v opencode-cargo-cache:/root/.cargo \
|
-v opencode-cargo-cache:/root/.cargo \
|
||||||
-v opencode-go-cache:/root/go \
|
-v opencode-go-cache:/root/go \
|
||||||
-v opencode-bun-cache:/root/.bun \
|
-v opencode-bun-cache:/root/.bun \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue