proxy / api /lib

Commit History

  1. feat: add Cloudflare Workers AI fallback for kimi models⁠

    OpenCode
    3f8984a

  1. feat: non-streaming auto-continue, higher timeout, default max_tokens⁠

    OpenCode
    d584275
  2. feat: add PROXY_API_KEY validation⁠

    OpenCode
    94703c2

  1. feat: auto-continue + keepalive for streaming

    dandi
    0d4ab93

  1. fix: file-based stats persistence via /tmp/stats.json

    dandi
    e62338c
  2. feat: time range tabs (Today/Week/Month/All) + real-time clock navbar

    dandi
    6164f57
  3. fix: read key count from env var in getStats

    dandi
    24925b0
  4. feat: API key stats, error capture, key states tracking

    dandi
    153b6dc
  5. feat: dashboard with stats, recent requests, console log, login

    dandi
    8c87fee
  6. feat: proper SSE streaming via pipe for stream:true

    dandi
    9816b39
  7. feat: use native https module instead of fetch for upstream

    dandi
    c6eddd7
  8. fix: add Content-Length header explicitly

    dandi
    763e1d1
  9. refactor: read body in proxy, return text directly

    dandi
    4e18ea2
  10. fix: use text() instead of arrayBuffer() for non-streaming

    dandi
    7b1f6b1
  11. fix: handle non-streaming responses with arrayBuffer

    dandi
    e3890dd
  12. feat: impersonate Kimchi CLI headers (User-Agent, X-Stainless-*))

    dandi
    e6ada1d
  13. fix: key rotation - zero delay on 402, 55 retries, handler timeout 55s

    dandi
    1788deb
  14. perf: reduce timeouts to fit Vercel 60s limit

    dandi
    4da59fb
  15. feat: add 402 to retryable statuses for credit exhaustion rotation

    dandi
    b3a9f32
  16. feat: key rotation on retry - rotate key per attempt

    dandi
    8b83ebd
  17. fix: undefined attempts var in proxy.js

    dandi
    ec366a5
  18. init: kimchi proxy with multi-key rotation

    dandi
    b65c987