mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 09:20:22 +08:00
feat: 新增 Anyrouter/Cubence/YesCode 架构及余额监控增强
- 新增三个 provider 架构:Anyrouter、Cubence、YesCode - 前端新增对应的认证配置模板 - 余额监控增强:支持窗口限额显示(进度条+倒计时)、签到状态、错误信息展示 - 架构基类新增 prepare_verify_config 异步预处理方法 - API 返回 ops_architecture_id 字段用于前端展示
This commit is contained in:
@@ -641,6 +641,9 @@ class ProviderWithEndpointsSummary(BaseModel):
|
||||
|
||||
# Provider Ops 配置状态
|
||||
ops_configured: bool = Field(default=False, description="是否配置了扩展操作(余额监控等)")
|
||||
ops_architecture_id: Optional[str] = Field(
|
||||
default=None, description="扩展操作使用的架构 ID(如 cubence, anyrouter)"
|
||||
)
|
||||
|
||||
# 时间戳
|
||||
created_at: datetime
|
||||
|
||||
Reference in New Issue
Block a user