feat(codex-bridge): tell the model the chat model can be changed by saying so; a nameless command asks which
ci / mobile-link-windows (push) Canceled after 0s
ci / approval-gate-windows (push) Canceled after 0s

Measured in a live voice chat: asked whether it could change the model, Opus answered "I cannot change this
chat's model here". Every request now carries one short developer note, and "modeli değiştir" without a
name is answered by the bridge with how to say it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
yilsemandClaude Opus 5.5 committed 2026-10-11 01:55:34 +03:00
1 parent 7c0dc467d5
commit 8a612beba7
4 files changed
+53 -3

No files matched your search

@@ -1149,6 +1149,11 @@ class H(http.server.BaseHTTPRequestHandler):
return None
log(f"[{n} {gelen}] model sorusu kopruden cevaplandi: {etkin}")
return f"Sohbetin modeli şu an {model_adi(etkin)}."
if komut["tur"] == "nasil":
if ortada:
return None
log(f"[{n} {gelen}] adsiz model komutu: nasil soylenecegi anlatildi")
return f"Sohbetin modeli şu an {model_adi(etkin)}. " + model_gecis.NASIL
sonuc = model_gecis.eslestir(komut["ad"], bilinen_modeller())
if not sonuc:
return None # ad hicbir modele benzemiyor: komut degil, modele gider
@@ -1230,6 +1235,9 @@ class H(http.server.BaseHTTPRequestHandler):
GORULEN_ISTEMCI.add(kaynak)
log(f"istemci goruldu: {kaynak}")
try:
# Model, sohbetin modelinin soylenerek degistirilebildigini bilsin; yoksa "degistiremem" diyor.
if CFG.get("sesle_model", True) and CFG.get("model_bilgi", True) and sohbet and model_gecis.bilgi_ekle(req):
govde_degisti = True
if is_hatti.masaustu_mu(kaynak) and is_hatti.ekle(req, is_hatti.talimat(CFG.get("aiturk_hat"))):
govde_degisti = True
except Exception as e: