mirror of
https://github.com/justlovemaki/AIClient-2-API.git
synced 2026-04-26 09:55:54 +03:00
[PR #120] [CLOSED] feat(usage): 添加provider健康检查接口 #269
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AIClient-2-API-justlovemaki#269
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/justlovemaki/AIClient-2-API/pull/120
Author: @unihon
Created: 12/21/2025
Status: ❌ Closed
Base:
main← Head:feature/provider-health-api📝 Commits (1)
4996208feat(usage): 添加provider健康检查接口📊 Changes
2 files changed (+127 additions, -1 deletions)
View changed files
📝
src/request-handler.js(+33 -1)📝
src/service-manager.js(+94 -0)📄 Description
概要
添加独立的provider健康检查接口(与web UI管理中provider信息接口不同),用于系统provider检测
应用场景
通过获取provider状态,结合相关监控、告警系统整合
使用案例
结合Uptime Kuma,实现provider异常告警通知
响应样例
原理
数据源基于providerPoolManager和PROVIDER_POOLS_FILE_PATH
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.