From fa6f713b7d2b54f66b2a59c00da14ca53313b65a Mon Sep 17 00:00:00 2001 From: consultoria-as Date: Thu, 2 Apr 2026 08:25:12 +0000 Subject: [PATCH] =?UTF-8?q?fix(pos):=20corregir=20model=20ID=20=E2=80=94?= =?UTF-8?q?=20qwen/qwen3.6-plus-preview:free?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- pos/services/ai_chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pos/services/ai_chat.py b/pos/services/ai_chat.py index 65aa86e..7b685e7 100644 --- a/pos/services/ai_chat.py +++ b/pos/services/ai_chat.py @@ -10,7 +10,7 @@ OPENROUTER_URL = "https://openrouter.ai/api/v1/chat/completions" # ⚠️ SOLO MODELOS GRATUITOS — No cambiar a modelos de pago. # El modelo DEBE terminar en ":free" para garantizar costo $0. # Alternativas gratuitas: "meta-llama/llama-4-scout:free", "google/gemma-3-27b-it:free" -MODEL = "qwen/qwen3-6b-preview:free" +MODEL = "qwen/qwen3.6-plus-preview:free" def _validate_model(model_id): """Ensure only free models are used. Raises if model is not free."""