Update to Qwen2.5-Coder-3B
Browse files- bot.js +1 -1
- index.html +2 -2
bot.js
CHANGED
|
@@ -13,7 +13,7 @@ console.log("[CONFIG] Zen Key:", ZEN_API_KEY.substring(0, 12) + "...");
|
|
| 13 |
console.log("[CONFIG] Router:", ROUTER_URL);
|
| 14 |
|
| 15 |
const ZEN_BASE = "https://opencode.ai/zen/v1";
|
| 16 |
-
const LOCAL_MODEL = "bartowski/
|
| 17 |
const LOCAL_API = "https://abbasyk60-ai-telegram-bot.hf.space/v1/chat/completions";
|
| 18 |
const FREE_MODELS = ["deepseek-v4-flash-free", "mimo-v2.5-free", "big-pickle", "laguna-s-2.1-free", "ling-3.0-flash-free", "north-mini-code-free", "nemotron-3-ultra-free"];
|
| 19 |
const bot = new Bot(BOT_TOKEN);
|
|
|
|
| 13 |
console.log("[CONFIG] Router:", ROUTER_URL);
|
| 14 |
|
| 15 |
const ZEN_BASE = "https://opencode.ai/zen/v1";
|
| 16 |
+
const LOCAL_MODEL = "bartowski/Qwen2.5-Coder-3B-Instruct-GGUF";
|
| 17 |
const LOCAL_API = "https://abbasyk60-ai-telegram-bot.hf.space/v1/chat/completions";
|
| 18 |
const FREE_MODELS = ["deepseek-v4-flash-free", "mimo-v2.5-free", "big-pickle", "laguna-s-2.1-free", "ling-3.0-flash-free", "north-mini-code-free", "nemotron-3-ultra-free"];
|
| 19 |
const bot = new Bot(BOT_TOKEN);
|
index.html
CHANGED
|
@@ -86,7 +86,7 @@
|
|
| 86 |
<option value="glm-5.2">GLM 5.2</option>
|
| 87 |
</optgroup>
|
| 88 |
<optgroup label="Local Models (Your Server)">
|
| 89 |
-
<option value="bartowski/
|
| 90 |
</optgroup>
|
| 91 |
<optgroup label="Free Models">
|
| 92 |
<option value="deepseek-v4-flash-free">DeepSeek V4 Flash Free <span class="free-tag">FREE</span></option>
|
|
@@ -148,7 +148,7 @@
|
|
| 148 |
}
|
| 149 |
|
| 150 |
const LOCAL_API = 'https://abbasyk60-ai-telegram-bot.hf.space/v1/chat/completions';
|
| 151 |
-
const LOCAL_MODEL = 'bartowski/
|
| 152 |
|
| 153 |
function getEndpoint(modelId) {
|
| 154 |
if (modelId === LOCAL_MODEL) return 'local';
|
|
|
|
| 86 |
<option value="glm-5.2">GLM 5.2</option>
|
| 87 |
</optgroup>
|
| 88 |
<optgroup label="Local Models (Your Server)">
|
| 89 |
+
<option value="bartowski/Qwen2.5-Coder-3B-Instruct-GGUF">Qwen2.5-Coder-3B (Local) <span class="free-tag">FREE</span></option>
|
| 90 |
</optgroup>
|
| 91 |
<optgroup label="Free Models">
|
| 92 |
<option value="deepseek-v4-flash-free">DeepSeek V4 Flash Free <span class="free-tag">FREE</span></option>
|
|
|
|
| 148 |
}
|
| 149 |
|
| 150 |
const LOCAL_API = 'https://abbasyk60-ai-telegram-bot.hf.space/v1/chat/completions';
|
| 151 |
+
const LOCAL_MODEL = 'bartowski/Qwen2.5-Coder-3B-Instruct-GGUF';
|
| 152 |
|
| 153 |
function getEndpoint(modelId) {
|
| 154 |
if (modelId === LOCAL_MODEL) return 'local';
|