From 1df3ff194a452df76d9b4a08d128986f7cb477c4 Mon Sep 17 00:00:00 2001 From: Repinoid Date: Tue, 26 May 2026 21:22:52 +0300 Subject: [PATCH] =?UTF-8?q?feat:=20gpt-oss-120b=20=E2=80=94=20=D1=81=D0=B0?= =?UTF-8?q?=D0=BC=D0=B0=D1=8F=20=D0=BC=D0=BE=D1=89=D0=BD=D0=B0=D1=8F=20?= =?UTF-8?q?=D0=BC=D0=BE=D0=B4=D0=B5=D0=BB=D1=8C=20aillm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.yaml | 7 ++++--- elmer/diagnose.py | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/config.yaml b/config.yaml index 84b20ed..2b16bcf 100644 --- a/config.yaml +++ b/config.yaml @@ -1,9 +1,10 @@ # Elmer configuration # Значения вида ${VAR} подставляются из переменных окружения -deepseek: - api_key: "${DEEPSEEK_API_KEY}" - model: "deepseek-chat" +llm: + api_key: "sk-ucI5YvOticoOQ9Kuj5K9mQ" + model: "gpt-oss-120b" + base_url: "https://api.aillm.ru/v1" elm327: # Bluetooth-порт (обычно /dev/rfcomm0 после pairing) diff --git a/elmer/diagnose.py b/elmer/diagnose.py index 6f5d04d..150f7ed 100644 --- a/elmer/diagnose.py +++ b/elmer/diagnose.py @@ -2,8 +2,8 @@ import requests -DEEPSEEK_BASE = "https://api.deepseek.com/v1" -DEFAULT_MODEL = "deepseek-chat" +DEFAULT_BASE = "https://api.aillm.ru/v1" +DEFAULT_MODEL = "gpt-oss-20b" class Diagnoser: