From 32e213dc69ca598f035f14327fca872f682391d8 Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Tue, 14 Apr 2026 01:50:10 -0400 Subject: [PATCH] working --- opencode/config.json | 38 ++++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/opencode/config.json b/opencode/config.json index d5628ee..e45aa95 100644 --- a/opencode/config.json +++ b/opencode/config.json @@ -1,33 +1,39 @@ { "$schema": "https://opencode.ai/config.json", "provider": { - "llama.cpp": { + "llama-stack": { "npm": "@ai-sdk/openai-compatible", - "name": "llama-server (local)", + "name": "Rigby Llama Stack", "options": { - "baseURL": "http://192.168.0.23:8000/v1" + "baseURL": "https://ai.ramos.codes/stack/v1", + "apiKey": "{env:LLAMA_API_KEY}" }, "models": { - "qwen3-coder:a3b": { - "name": "Qwen3-Coder-30B-A3B-Instruct-Q8" + "llamacpp/Qwen3-Coder-30B-A3B-Instruct-Q8_0": { + "name": "Qwen3-Coder-30B-A3B-Instruct-Q8", + "limit": { + "context": 262144, + "output": 262144 + }, + "cost": { + "input": 0, + "output": 0, + "cache_read": 0, + "cache_write": 0 + } } } } }, "mcp": { - "fetch": { - "type": "local", - "command": ["uvx", "mcp-server-fetch", "--ignore-robots-txt"], - "enabled": true - }, - "searxng": { - "type": "local", - "command": ["npx", "-y", "mcp-searxng"], - "environment": { - "SEARXNG_URL": "http://192.168.0.23:8080" + "search": { + "type": "remote", + "url": "https://ai.ramos.codes/mcp/web_search/mcp", + "headers": { + "X-API-Key": "{env:LLAMA_API_KEY}" }, "enabled": true } }, - "model": "llama.cpp/qwen3-coder:a3b" + "model": "llama-stack/llamacpp/Qwen3-Coder-30B-A3B-Instruct-Q8_0" }