Commit Graph

17 Commits

Author SHA1 Message Date
huangzhenpc
74babe3133 Merge upstream Quorinex/Kiro-Go: cache tracker fixes + license + version 1.0.5
Some checks failed
Build Docker Image / build (push) Has been cancelled
2026-05-11 19:16:35 +08:00
huangzhenpc
3b791a6926 feat: add INVALID_MODEL_ID retry config + detailed request logging
- Config: new InvalidModelRetries field (default 3, range 0-20)
- Admin API: /admin/api/general GET/POST for general settings
- Admin UI: new "通用设置" card with retry count input
- CallKiroAPI: same-endpoint retry on HTTP 400 INVALID_MODEL_ID
  before falling back to next endpoint
- CallKiroAPI: switched to log.Printf with timestamp, account,
  model, attempt counter, elapsed time, error body truncation
2026-05-11 19:15:49 +08:00
Quorinex
acc5fe45ce fix: improve prompt cache tracking 2026-05-11 16:13:38 +08:00
Quorinex
3089d028d2 chore: sync config version 2026-05-10 21:22:10 +08:00
Quorinex
e20b2a8816 chore: sync config version 2026-05-10 21:21:24 +08:00
Quorinex
a24529d783 chore: sync dev branch proxy and workflow updates 2026-05-10 18:57:40 +08:00
hkxiaoyao
ad7aabd554 feat: Add validation and account management functionality (#21)
* feat: Add validation and account management functionality

- Add validation for clientID and clientSecret in refreshOIDCToken function
- Add weight field for load balancing priority in Account struct
- Implement weighted轮询策略以根据账号权重分配选择概率。
- Add batch account management functionality including enabling, disabling, refreshing, and retrieving account details.
- Update Kiro API version and adjust user agent strings to reflect new version numbers.
- Update Kiro version and modify user agent strings and header settings.
- Refactor model mapping to an ordered list for precise key matching.
- Add account bulk actions and filtering toolbar to index.html

* feat: Add logic to skip accounts with exhausted usage limits

- Add logic to skip accounts with exhausted usage limits when selecting the next account.
2026-02-23 21:47:17 +08:00
Quorinex
d71bf09dde chore: bump version to 1.0.3 and refactor model mapping 2026-02-23 21:46:42 +08:00
Quorinex
60cf204823 chore: bump version to 1.0.2 2026-02-10 12:36:23 +08:00
hkxiaoyao
1afc82c29c feat: Add account ban handling and UI updates (#11)
- Add ban status and reason fields to account configuration
- Add account ban status and details handling in API refresh account function.
- Add logic to handle account suspension and authentication errors, updating ban status accordingly.
- Add and style badge classes for different account statuses and modify account status display logic.
2026-02-10 12:23:39 +08:00
Quorinex
a308630156 feat: add admin logout, 72h session expiry, /v1/stats endpoint, and UI fixes 2026-02-08 19:23:00 +08:00
Quorinex
3e7cca04ba feat: add versioning, account export, and dynamic models list 2026-02-08 01:48:24 +08:00
Quorinex
d6fa49f24e feat: add i18n support and batch JSON credentials import 2026-02-06 21:54:04 +08:00
hkxiaoyao
d05bd00207 Merge pull request #3 from hkxiaoyao/main
feat(account): add trial quota tracking and display
2026-02-06 13:16:24 +08:00
Quorinex
01e9d0577c feat: add thinking mode support with configurable output formats 2026-02-04 17:42:30 +08:00
Quorinex
a26c353f56 fix: default listen on 0.0.0.0 for Docker compatibility 2026-02-04 01:12:39 +08:00
Quorinex
c5e6d42163 feat: Kiro API Proxy - OpenAI/Anthropic compatible API service
- Multi-account pool with round-robin load balancing
- Auto token refresh for IAM IdC and Social auth
- Streaming support (SSE)
- Web admin panel with account management
- Docker support with GitHub Actions CI/CD
- Machine ID management per account
- Usage tracking (requests, tokens, credits)
2026-02-04 00:37:05 +08:00