Lumen / lumen_commands.py

Commit History

Yesterday

  1. router: провайдер Munito под флагом MUNITO_ENABLED — весь текст там, прежние цепочки резервом по второму флагу

    SilverElixir
    7598b3a

5 days ago

  1. Fix streaming chunk drift and duplicate resend, Moscow clock in prompt, stats escaping, draw quota reserve and command rate limits

    SilverElixir
    0352e27

7 days ago

  1. Isolate tests from live provider keys, requeue cancelled state flushes and trim redundant latency in search, draw, rich conversion and TikTok metadata

    SilverElixir
    da6a2d2

9 days ago

  1. Animate TikTok, /draw and /tts statuses like Claude with a live seconds counter

    SilverElixir
    b19124f
  2. Keep reconciled stream tails formatted, tighten freshness word boundaries and probe real TikWM API paths

    SilverElixir
    8cdce5e
  3. Make /diag and /selftest probe the configured proxies with their secret and treat HTTP errors honestly

    SilverElixir
    6df746e
  4. Fix silent losses in albums, TTS sends, streaming tails, retries and multilingual freshness detection

    SilverElixir
    f4a3048
  5. Harden identity/output filters, quotas, history and deploy guards after the security audit

    SilverElixir
    e6073ca

10 days ago

  1. Mark provider quota counters in /stats as informational

    SilverElixir
    69c4286
  2. Tag log lines with the chat, silence uvicorn access noise, log stack traces for unexpected failures

    SilverElixir
    22981df

16 days ago

  1. Close aiohttp session leaks: no session without key, stub session in unit tests

    SilverElixir
    8fe8000

30 days ago

  1. Count model attempts and failures in daily stats

    SilverElixir
    965ba13

  1. Fix adversarial review findings across splitter quotas and backup

    SilverElixir
    2939738
  2. Fix small hardening issues across logging media and errors

    SilverElixir
    3438464
  3. Align daily quota accounting across draw TTS and 429 paths

    SilverElixir
    168044d
  4. Cap Pollinations image reads and tie timeout to draw budget

    SilverElixir
    5ccb0e6
  5. Block banned users in user commands and lang callback

    SilverElixir
    00f233d

  1. Drop unreachable second pick ownership check

    SilverElixir
    2be4f05
  2. Fix selftest cooldown on fresh boot

    SilverElixir
    a733dc1
  3. Fix review findings on ban bypass, probe parity, eval gap

    SilverElixir
    f3f8493
  4. Add owner ban commands, dependabot PR cap, seed docs

    SilverElixir
    eb80878
  5. Quarantine models after 3 bad responses until quota day ends

    SilverElixir
    398ccda

  1. Add owner-only /selftest route-head probe with quota accounting

    SilverElixir
    0e3aacf
  2. Refuse gemini-only media early, cache build version

    SilverElixir
    22d7bdd
  3. Fix review findings on limits and stats

    SilverElixir
    87259c9
  4. Fix stats activity clock and expand diagnostics

    SilverElixir
    5e12873
  5. Add per-user daily limits with Gemini fallback

    SilverElixir
    f47e28b
  6. Disclose group history use in start and README

    SilverElixir
    b1e1c04

  1. TTS total deadline with shortened notice (D2: A6-4)

    SilverElixir
    4583c1a
  2. Single-source limit scalars; generation-checked chat lock acquisition (A5-8, A5-10)

    SilverElixir
    a7a4333

  1. Route draw/tts via _tg_call; honor RetryAfter, no 4xx retry; scrub error texts (A8-01..A8-05, A8-08)

    SilverElixir
    6181fd1

  1. Comment cleanup: short Russian why-comments, no AI boilerplate⁠

    SilverElixir
    5f80ef1
  2. Subagent re-review: fix confirmed misses, harden thin tests⁠

    SilverElixir
    3d3384a

  1. Independent re-review: fix missed regressions and close gaps⁠

    SilverElixir
    5bd5d41
  2. Fix regressions found by adversarial review: routing, rendering, rate limits⁠

    SilverElixir
    62c1832
  3. Quality wave 5: summarizing history trim in streaming, LaTeX parity between render paths, rate limit before state/album downloads, parity tests

    SilverElixir
    5a68db4
  4. Security wave 2: gate deploy on push+own repo, 401 and denial logging on admin endpoints, FastAPI schema off, proxy body cap, ownerless pick confined to chat, loud warning about secrets derived from BOT_TOKEN

    SilverElixir
    1c833d2
  5. Fix chat-lock hangs: TTS async with timeout, stream handshake capped, route attempts bounded by remaining budget, one shared chat-lock limit

    SilverElixir
    6472592

  1. Security: validate pick before pop (foreign tap no longer burns token), SSRF guard on download hosts

    SilverElixir
    7127800
  2. UX batch: start examples, pick reissue on expired tap, TTS multi-part, reset doc fix

    SilverElixir
    0783f54

  1. Luna audit fixes: album lock, multilingual routing, streaming budget, quota and persistence hardening

    SilverElixir
    dd4c939
  2. stats: active chats counted over trailing 24h, total kept

    SilverElixir
    fe3cf23

  1. stats goes pro: hide idle models, per-provider totals and remaining quota

    SilverElixir
    4b8d7ce
  2. Groq provider: qwen head + gpt-oss reserve on light routes (calibrated 21.09.2026), streaming, quota/stats/diag, 8 tests

    SilverElixir
    9b9fc79
  3. Comment polish: Russian pro-style comments, keep dated evidence short (+426/-2765). Fix: bot.send_chat_action -> bot.bot.send_chat_action (was AttributeError, typing indicator never showed)

    SilverElixir
    0b65b92

  1. P2: extract lumen_commands.py (commands, TTS/draw pipelines, pick buttons) with bot.X re-exports (AUD-A-001)

    SilverElixir
    4ab6cec