From df2cbb98c86511541022ed25ef75a8ea2bc76d42 Mon Sep 17 00:00:00 2001 From: Graa Date: Fri, 12 Jun 2026 20:54:14 +0000 Subject: [PATCH] chore: replace CleverThis opencode providers with the canonical 5 (Tier 1-5) Replaces all CleverThis* providers with the 5 standard CleverThis HuggingFace endpoints (Qwen 9B / Qwen 35B / MiniMax M2.7 / Kimi K2.6 / Qwen Coder 480B IQ1). Existing matching providers preserved; stale ones removed. --- .devcontainer/opencode.json | 223 +++++------------------------------- 1 file changed, 30 insertions(+), 193 deletions(-) diff --git a/.devcontainer/opencode.json b/.devcontainer/opencode.json index fbc974c..a8b110b 100644 --- a/.devcontainer/opencode.json +++ b/.devcontainer/opencode.json @@ -4,148 +4,36 @@ "mcp": { "context7": { "type": "local", - "command": ["npx", "-y", "@upstash/context7-mcp"], + "command": [ + "npx", + "-y", + "@upstash/context7-mcp" + ], "enabled": true }, "sequential-thinking": { "type": "local", - "command": ["npx", "@modelcontextprotocol/server-sequential-thinking"], + "command": [ + "npx", + "@modelcontextprotocol/server-sequential-thinking" + ], "enabled": false - }, + } }, "provider": { - "CleverThis": { + "CleverThis-18": { "npm": "@ai-sdk/openai-compatible", "options": { - "baseURL": "https://ke5ntcikhnj2clcp.us-east-1.aws.endpoints.huggingface.cloud/v1", + "baseURL": "https://tawdqvmm5x3zxahl.us-east-1.aws.endpoints.huggingface.cloud/v1", "apiKey": "{env:HF_TOKEN}", "headers": { "X-HF-Bill-To": "CleverThis", - "Authorization": "Bearer {env:HF_TOKEN}", + "Authorization": "Bearer {env:HF_TOKEN}" } }, "models": { - "Qwen3-6-35B-A3B-GGUF-BF16": { - "name": "Qwen 3.6 35b A3B GGUF BF16 (Thinking)", - "tools": true - } - } - }, - "CleverThis-2": { - "npm": "@ai-sdk/openai-compatible", - "options": { - "baseURL": "https://rr2a54q04oycqvpf.us-east-1.aws.endpoints.huggingface.cloud/v1", - "apiKey": "{env:HF_TOKEN}", - "headers": { - "X-HF-Bill-To": "CleverThis", - "Authorization": "Bearer {env:HF_TOKEN}", - } - }, - "models": { - "MiniMax-M2-7-GGUF-UD-Q4-K-XL": { - "name": "MiniMax M2.7 GGUF UD-Q4_K_XL (Thinking)", - "tools": true - } - } - }, - "CleverThis-3": { - "npm": "@ai-sdk/openai-compatible", - "options": { - "baseURL": "https://jve0bsgx6csdzln9.us-east-1.aws.endpoints.huggingface.cloud/v1", - "apiKey": "{env:HF_TOKEN}", - "headers": { - "X-HF-Bill-To": "CleverThis", - "Authorization": "Bearer {env:HF_TOKEN}", - } - }, - "models": { - "Devstral-Small-2-24B-Instruct-GGUF": { - "name": "Devstral Small 2 24B GGUF (Instruct)", - "tools": true - } - } - }, - "CleverThis-4": { - "npm": "@ai-sdk/openai-compatible", - "options": { - "baseURL": "https://ntgtpdbn2vuag4yb.us-east-2.aws.endpoints.huggingface.cloud/v1", - "apiKey": "{env:HF_TOKEN}", - "headers": { - "X-HF-Bill-To": "CleverThis", - "Authorization": "Bearer {env:HF_TOKEN}", - } - }, - "models": { - "Kimi-K2-6-GGUF-Q2-K-XL": { - "name": "Kimi K2.6 GGUF Q2_K_XL (Thinking)", - "tools": true - } - } - }, - "CleverThis-5": { - "npm": "@ai-sdk/openai-compatible", - "options": { - "baseURL": "https://fhe4kwehnm1rb275.us-east-1.aws.endpoints.huggingface.cloud/v1", - "apiKey": "{env:HF_TOKEN}", - "headers": { - "X-HF-Bill-To": "CleverThis", - "Authorization": "Bearer {env:HF_TOKEN}", - } - }, - "models": { - "Qwen3-Coder-Next-GGUF-BF16": { - "name": "Qwen3 Coder Next GGUF BF16", - "tools": true - } - } - }, - "CleverThis-6": { - "npm": "@ai-sdk/openai-compatible", - "options": { - "baseURL": "https://f0oelboag4bzw1zp.us-east-1.aws.endpoints.huggingface.cloud/v1", - "apiKey": "{env:HF_TOKEN}", - "headers": { - "X-HF-Bill-To": "CleverThis", - "Authorization": "Bearer {env:HF_TOKEN}", - } - }, - "models": { - "Nemotron-3-Nano-30B-GGUF-Q8-K-XL": { - "name": "Nemotron 3 Nano 30B GGUF Q8_K_XL (Thinking)", - "tools": true - } - } - }, - "CleverThis-7": { - "npm": "@ai-sdk/openai-compatible", - "options": { - "baseURL": "https://dfwwzwtekzhnh4fl.us-east-2.aws.endpoints.huggingface.cloud/v1", - "apiKey": "{env:HF_TOKEN}", - "headers": { - "X-HF-Bill-To": "CleverThis", - "Authorization": "Bearer {env:HF_TOKEN}", - } - }, - "models": { - "DavidAU/Qwen3.6-40B-Claude-4.6-Opus-Deckard-Heretic-Uncensored-Thinking": { - "name": "Qwen 3.6 40B Uncensored BF16 (Thinking)", - "tools": true - } - } - }, - "CleverThis-8": { - "npm": "@ai-sdk/openai-compatible", - "options": { - "baseURL": "https://ki19d58snp1d3qa4.us-east-1.aws.endpoints.huggingface.cloud/v1", - "apiKey": "{env:HF_TOKEN}", - "headers": { - "X-HF-Bill-To": "CleverThis", - "Authorization": "Bearer {env:HF_TOKEN}", - } - }, - "models": { - "Qwen3-Coder-Next-GGUF-Q4-0": { - "name": "Qwen3 Coder Next GGUF Q4_0", + "Qwen3-5-9B-GGUF-UD-Q4-K-XL-T4-X1": { + "name": "Qwen 3.5 9B GGUF UD-Q4_K_XL (Tier 1 — Lightest/Fastest/Cheapest)", "tools": true } } @@ -157,7 +45,7 @@ "apiKey": "{env:HF_TOKEN}", "headers": { "X-HF-Bill-To": "CleverThis", - "Authorization": "Bearer {env:HF_TOKEN}", + "Authorization": "Bearer {env:HF_TOKEN}" } }, "models": { @@ -167,87 +55,36 @@ } } }, - "CleverThis-10": { + "CleverThis-2": { "npm": "@ai-sdk/openai-compatible", "options": { - "baseURL": "https://dirv1cnem5wqzoax.us-east-1.aws.endpoints.huggingface.cloud/v1", + "baseURL": "https://rr2a54q04oycqvpf.us-east-1.aws.endpoints.huggingface.cloud/v1", "apiKey": "{env:HF_TOKEN}", "headers": { "X-HF-Bill-To": "CleverThis", - "Authorization": "Bearer {env:HF_TOKEN}", + "Authorization": "Bearer {env:HF_TOKEN}" } }, "models": { - "Qwen3-235B-A22B-INST-GGUF-Q8-0": { - "name": "Qwen3 235b A22B GGUF Q8_0 (Instruct)", + "MiniMax-M2-7-GGUF-UD-Q4-K-XL": { + "name": "MiniMax M2.7 GGUF UD-Q4_K_XL (Thinking)", "tools": true } } }, - "CleverThis-11": { + "CleverThis-14": { "npm": "@ai-sdk/openai-compatible", "options": { - "baseURL": "https://hueiyrdbly1ff4oo.us-east-1.aws.endpoints.huggingface.cloud/v1", + "baseURL": "https://s4oe6bfx8rg0ndkl.us-east-2.aws.endpoints.huggingface.cloud/v1", "apiKey": "{env:HF_TOKEN}", "headers": { "X-HF-Bill-To": "CleverThis", - "Authorization": "Bearer {env:HF_TOKEN}", + "Authorization": "Bearer {env:HF_TOKEN}" } }, "models": { - "Qwen3-235B-A22B-INST-GGUF-UD-Q2-K-XL": { - "name": "Qwen3 235b A22B GGUF UD-Q2_K_XL (Instruct)", - "tools": true - } - } - }, - "CleverThis-12": { - "npm": "@ai-sdk/openai-compatible", - "options": { - "baseURL": "https://atocunu78hjdnu3f.us-east-1.aws.endpoints.huggingface.cloud/v1", - "apiKey": "{env:HF_TOKEN}", - "headers": { - "X-HF-Bill-To": "CleverThis", - "Authorization": "Bearer {env:HF_TOKEN}", - } - }, - "models": { - "Qwen3-30B-A3B-INST-GGUF-UD-Q8-K-XL": { - "name": "Qwen3 30b A3B GGUF UD-Q8_K_XL (Instruct)", - "tools": true - } - } - }, - "CleverThis-13": { - "npm": "@ai-sdk/openai-compatible", - "options": { - "baseURL": "https://dpe3orf5en4581im.us-east-1.aws.endpoints.huggingface.cloud/v1", - "apiKey": "{env:HF_TOKEN}", - "headers": { - "X-HF-Bill-To": "CleverThis", - "Authorization": "Bearer {env:HF_TOKEN}", - } - }, - "models": { - "Qwen3-30B-A3B-INST-GGUF-UD-Q5-K-XL": { - "name": "Qwen3 30b A3B GGUF UD-Q5_K_XL (Instruct)", - "tools": true - } - } - }, - "CleverThis-15": { - "npm": "@ai-sdk/openai-compatible", - "options": { - "baseURL": "https://n4u4h8h0fgintms4.us-east-1.aws.endpoints.huggingface.cloud/v1", - "apiKey": "{env:HF_TOKEN}", - "headers": { - "X-HF-Bill-To": "CleverThis", - "Authorization": "Bearer {env:HF_TOKEN}", - } - }, - "models": { - "Qwen3-6-35B-A3B-GGUF-UD-Q3-K-XL": { - "name": "Qwen 3.6 35b A3B GGUF UD-Q3_K_XL (Thinking)", + "Kimi-K2-6-GGUF-Q2-K-XL-RTX": { + "name": "Kimi K2.6 GGUF Q2_K_XL (Tier 4 — Top Reasoner, RTX)", "tools": true } } @@ -255,16 +92,16 @@ "CleverThis-16": { "npm": "@ai-sdk/openai-compatible", "options": { - "baseURL": "https://kcgeda25msp4dkwm.us-east-2.aws.endpoints.huggingface.cloud/v1", + "baseURL": "https://mx5kptxddhfqsb7l.us-east-2.aws.endpoints.huggingface.cloud/v1", "apiKey": "{env:HF_TOKEN}", "headers": { "X-HF-Bill-To": "CleverThis", - "Authorization": "Bearer {env:HF_TOKEN}", + "Authorization": "Bearer {env:HF_TOKEN}" } }, "models": { - "Qwen3-code-480B-A35B-INST-GGUF-1M-UD-Q3-K-XL": { - "name": "Qwen3 Code 480b A35B GGUF UD-Q3_K_XL (Instruct, 1M Context)", + "Qwen3-code-480B-A35B-INST-GGUF-1M-UD-IQ1-M-RTX-X4": { + "name": "Qwen3 Coder 480B A35B IQ1_M (Tier 5 — Heavy, ~920K Context, Instruct)", "tools": true } }