IISHKO: Telegram bot, Mini App and gateway
Initial public release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
"""Read-only provider moderation advisories, not routing or health verdicts."""
|
||||
|
||||
# are included: this is an advisory for some routes, never a DS-only claim.
|
||||
MODELS = frozenset({
|
||||
"qwen3.8-max",
|
||||
"glm-5.3-prime",
|
||||
"kimi-k2.7-code",
|
||||
"qwen3-vl-plus",
|
||||
"qwen3.8-flash",
|
||||
"deepseek-v4.1-flash-1017",
|
||||
"kimi-k3.1-pro",
|
||||
"kimi-k3.1-pro-highspeed",
|
||||
"qwen-max",
|
||||
"qwen-plus",
|
||||
"deepseek-v4-pro",
|
||||
"glm-5.1",
|
||||
"kimi/kimi-k3.1-pro",
|
||||
"qwen3.8-max-0902",
|
||||
})
|
||||
LABEL = "Строгая модерация провайдера"
|
||||
NOTICE = ("На части маршрутов действует контент-фильтр провайдера. "
|
||||
"Отказ не означает недоступность модели; повтор того же текста может не помочь.")
|
||||
|
||||
|
||||
def for_model(model_id):
|
||||
"""Return a fresh presentation-only advisory, or None for an unlisted ID."""
|
||||
if not isinstance(model_id, str) or model_id not in MODELS:
|
||||
return None
|
||||
return {"label": LABEL, "notice": NOTICE, "scope": "some_provider_routes",
|
||||
"observed_at": "2026-10-28"}
|
||||
Reference in New Issue
Block a user