[PR #29] [CLOSED] feat(kiro): 实现Kiro多账号池功能支持负载均衡和故障转移 #248

Closed
opened 2026-02-27 07:18:41 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/justlovemaki/AIClient-2-API/pull/29
Author: @LaelLuo
Created: 8/12/2025
Status: Closed

Base: mainHead: feat/kiro-pool-support


📝 Commits (4)

  • c539eed feat(kiro): 实现Kiro多账号池功能支持负载均衡和故障转移
  • f643595 🐛 fix(kiro): 修复流式生成故障转移和错误处理问题
  • 7956606 🐛 fix(kiro): 优化KiroApiPoolService架构设计和错误处理机制
  • ca2bd2d ♻️ refactor(kiro): 重构KiroApiPoolService消除重复逻辑并优化429错误处理

📊 Changes

5 files changed (+792 additions, -180 deletions)

View changed files

📝 src/adapter.js (+49 -1)
📝 src/api-server.js (+41 -1)
src/claude/claude-kiro-pool.js (+485 -0)
📝 src/claude/claude-kiro.js (+216 -178)
📝 src/common.js (+1 -0)

📄 Description

Summary

  • 实现KiroApiPoolService多账号池管理功能
  • 支持round-robin、random、least-used、least-failures负载均衡策略
  • 智能故障转移机制,包括429限流和认证错误的特殊处理
  • 流式生成安全处理,避免输出内容后的故障转移导致响应混乱

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/justlovemaki/AIClient-2-API/pull/29 **Author:** [@LaelLuo](https://github.com/LaelLuo) **Created:** 8/12/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/kiro-pool-support` --- ### 📝 Commits (4) - [`c539eed`](https://github.com/justlovemaki/AIClient-2-API/commit/c539eed3d0974a05480b52c4e61484eaf0549666) :sparkles: feat(kiro): 实现Kiro多账号池功能支持负载均衡和故障转移 - [`f643595`](https://github.com/justlovemaki/AIClient-2-API/commit/f643595c3ce5d247b2b56755460e8ff10afd0400) :bug: fix(kiro): 修复流式生成故障转移和错误处理问题 - [`7956606`](https://github.com/justlovemaki/AIClient-2-API/commit/7956606b2af91fabb599e7d10eaba11581bf692d) :bug: fix(kiro): 优化KiroApiPoolService架构设计和错误处理机制 - [`ca2bd2d`](https://github.com/justlovemaki/AIClient-2-API/commit/ca2bd2d1459e3aa48a6d372953b41cd58393afd6) :recycle: refactor(kiro): 重构KiroApiPoolService消除重复逻辑并优化429错误处理 ### 📊 Changes **5 files changed** (+792 additions, -180 deletions) <details> <summary>View changed files</summary> 📝 `src/adapter.js` (+49 -1) 📝 `src/api-server.js` (+41 -1) ➕ `src/claude/claude-kiro-pool.js` (+485 -0) 📝 `src/claude/claude-kiro.js` (+216 -178) 📝 `src/common.js` (+1 -0) </details> ### 📄 Description ## Summary - 实现KiroApiPoolService多账号池管理功能 - 支持round-robin、random、least-used、least-failures负载均衡策略 - 智能故障转移机制,包括429限流和认证错误的特殊处理 - 流式生成安全处理,避免输出内容后的故障转移导致响应混乱 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 07:18:41 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AIClient-2-API-justlovemaki#248
No description provided.