1. 17 Dec, 2025 1 commit
    • Refine French translations for UI conciseness · 5aaf0066
      Updated web/src/i18n/locales/fr.json to improve French translations for the user interface.
      
      Removed verbose prefixes like 'Gestion des...' and 'Paramètres de...' to prevent truncation in sidebars and menus.
      
      Harmonized terms for consistency (e.g., 'Tâches', 'Journaux', 'Dessins').
      
      Renamed 'Place du marché' to 'Marché des modèles'.
      comeback01 committed
  2. 16 Dec, 2025 3 commits
    • 🧹 fix: harden request-body size handling and error unwrapping · fa814b80
      Tighten oversized request handling across relay paths and make error matching reliable.
      
      - Align `MAX_REQUEST_BODY_MB` fallback to `32` in request body reader and decompression middleware
      - Stop ignoring `GetRequestBody` errors in relay retry paths; return consistent **413** on oversized bodies (400 for other read errors)
      - Add `Unwrap()` to `types.NewAPIError` so `errors.Is/As` can match wrapped underlying errors
      - `go test ./...` passes
      t0ng7u committed
    • 🛡️ fix: prevent OOM on large/decompressed requests; skip heavy prompt meta when… · c2ed76dd
      🛡️ fix: prevent OOM on large/decompressed requests; skip heavy prompt meta when token count is disabled
      
      Clamp request body size (including post-decompression) to avoid memory exhaustion caused by huge payloads/zip bombs, especially with large-context Claude requests. Add a configurable `MAX_REQUEST_BODY_MB` (default `32`) and document it.
      
      - Enforce max request body size after gzip/br decompression via `http.MaxBytesReader`
      - Add a secondary size guard in `common.GetRequestBody` and cache-safe handling
      - Return **413 Request Entity Too Large** on oversized bodies in relay entry
      - Avoid building large `TokenCountMeta.CombineText` when both token counting and sensitive check are disabled (use lightweight meta for pricing)
      - Update READMEs (CN/EN/FR/JA) with `MAX_REQUEST_BODY_MB`
      - Fix a handful of vet/formatting issues encountered during the change
      - `go test ./...` passes
      t0ng7u committed
  3. 15 Dec, 2025 3 commits
  4. 13 Dec, 2025 12 commits
  5. 12 Dec, 2025 14 commits
  6. 11 Dec, 2025 2 commits
  7. 09 Dec, 2025 5 commits