fawney19
|
a931da0764
|
Merge pull request #662 from MMEXA/codex/reset-credit-20260704
增加 Codex 重置次数功能
|
2026-07-07 01:58:44 +08:00 |
|
MMEXA
|
ef77ec04ca
|
增加 Codex 重置次数功能
|
2026-07-04 06:10:53 +08:00 |
|
MMEXA
|
242081433e
|
修复前端调试与基础交互问题
|
2026-07-04 05:24:40 +08:00 |
|
ZheFox
|
1dcee77055
|
refactor(frontend): improve dialog and mobile overflow handling
|
2026-07-03 11:26:40 +08:00 |
|
elky
|
974def5fef
|
refactor(frontend): extract provider key identity block
|
2026-06-30 17:01:39 +08:00 |
|
elky
|
e5351b7d9d
|
refactor(frontend): extract provider key actions
|
2026-06-30 17:01:39 +08:00 |
|
elky
|
ed83184d55
|
refactor(frontend): extract provider quota display components
|
2026-06-30 17:01:39 +08:00 |
|
elky
|
9f138d09e6
|
refactor(frontend): modularize i18n architecture
|
2026-06-30 17:01:39 +08:00 |
|
elky
|
f1c30439ff
|
fix: preserve provider auth metadata
|
2026-06-20 22:11:42 +08:00 |
|
elky
|
30b545785f
|
feat: improve failover rules and request timeline
|
2026-06-11 00:49:29 +08:00 |
|
Mas0nShi
|
9ad9858ac2
|
Merge origin/main into fix/gemini-cli-v1internal
|
2026-05-28 11:58:00 +08:00 |
|
fawney19
|
4fb8955bc2
|
fix(provider): move key model auto-match into dialog
|
2026-05-25 23:03:52 +08:00 |
|
zhefox
|
4c22a819f9
|
fix(provider): always show batch assign models action
|
2026-05-25 20:05:13 +08:00 |
|
ZheFox
|
e9efc5c42a
|
Merge branch 'fawney19:main' into main
|
2026-05-25 09:15:13 +08:00 |
|
Codex
|
218ca8e6eb
|
修复 ChatGPT Web 生图额度递减显示
|
2026-05-24 18:50:14 +08:00 |
|
zhefox
|
e6423a91aa
|
feat(provider): auto-match batch assign models from key
|
2026-05-24 15:19:37 +08:00 |
|
Mas0nShi
|
8b7643e150
|
Merge remote-tracking branch 'origin/main' into fix/gemini-cli-v1internal
# Conflicts:
# apps/aether-gateway/src/ai_serving/transport.rs
# apps/aether-gateway/src/handlers/admin/provider/oauth/dispatch/batch/parse.rs
# apps/aether-gateway/src/handlers/shared/catalog.rs
# crates/aether-admin/src/provider/quota.rs
# crates/aether-model-fetch/src/strategy.rs
# crates/aether-provider-pool/src/lib.rs
# crates/aether-provider-pool/src/service.rs
# crates/aether-provider-transport/src/provider_types.rs
# frontend/src/features/providers/components/ProviderDetailDrawer.vue
# frontend/src/utils/__tests__/providerKeyQuota.spec.ts
# frontend/src/utils/providerKeyQuota.ts
# frontend/src/views/admin/PoolManagement.vue
|
2026-05-22 17:13:57 +08:00 |
|
fawney19
|
ef04f4b0fb
|
Add automatic B/T compact unit formatting
|
2026-05-22 17:13:16 +08:00 |
|
Mas0nShi
|
ce02f1ae8c
|
Add Gemini CLI v1internal quota support
|
2026-05-22 16:58:04 +08:00 |
|
fawney19
|
97997685b5
|
Merge remote-tracking branch 'origin/pr/498'
|
2026-05-21 22:56:43 +08:00 |
|
fawney19
|
e7f8b259ac
|
Revert "Merge pull request #517 from zhiqicloud/feat/provider-balance-query"
This reverts commit 7e95e769d5, reversing
changes made to 490306c242.
|
2026-05-21 01:24:17 +08:00 |
|
Entropy.Xu
|
129c7c90c0
|
fix(provider): 修复 Windsurf 原生工具桥接
|
2026-05-21 01:02:02 +08:00 |
|
Entropy.Xu
|
0226e14251
|
feat(provider): 原生接入 Windsurf provider
|
2026-05-21 01:02:02 +08:00 |
|
zhiqicloud
|
122daf0f87
|
支持 Provider Key 余额查询与自动刷新
|
2026-05-20 12:33:31 +08:00 |
|
fawney19
|
7e9ca88e00
|
fix: restore provider key circuit breaker backoff
|
2026-05-19 13:57:36 +08:00 |
|
mayrain
|
936e1ae37b
|
feat(grok): add admin oauth and quota support
|
2026-05-16 21:15:38 +08:00 |
|
fawney19
|
ed9267562b
|
Adjust provider detail key pagination
|
2026-05-16 21:08:25 +08:00 |
|
fawney19
|
a7fdce493b
|
feat: paginate provider keys from backend
|
2026-05-16 12:52:49 +08:00 |
|
mayrain
|
43c476d54a
|
fix: refine provider model test dialog
|
2026-05-12 20:11:37 +08:00 |
|
Alice
|
757c264e3e
|
新增 Codex Spark 额度展示
解析 GPT-5.3-Codex-Spark 额度窗口,并在号池页面和提供商账号抽屉中展示 Spark 周额度与 5H 额度。Spark 额度仅用于展示,不影响普通 Codex 周额度和 5H 额度的调度与筛选逻辑。
|
2026-05-09 10:44:45 +08:00 |
|
Codex
|
41f75a3f19
|
feat: show chatgpt web image quota
|
2026-05-06 22:58:47 +08:00 |
|
fawney19
|
4fc7cecf30
|
Fix OAuth token import and table filters
|
2026-05-01 02:14:49 +08:00 |
|
fawney19
|
5cd2244bc2
|
fix frontend openai responses alias display
|
2026-04-26 23:59:53 +08:00 |
|
AAEE86
|
a9d10163af
|
fix(oauth): 修复 OAuth 刷新后 Token 有效期不更新问题 (#324)
- 持久化刷新后的 `expires_at` 到 Provider Key SQL 更新链路
- 手动刷新接口优先返回本次刷新得到的过期时间
- 按当前 Key 字段重建 OAuth 状态快照,避免旧快照覆盖
- 前端刷新后防止旧列表数据回退覆盖新有效期
|
2026-04-24 09:35:25 +08:00 |
|
 fawney19andEntropy.Xu
|
fa328e18a1
|
feat: provider api_formats 可空继承、OpenAI 图片 edit/variation 与用量配额多项补强
- 鉴权: provider_api_keys.api_formats 改为可空,OAuth 托管 key 自动继承 provider endpoints 激活格式,相关 handler/测试同步更新
- 图片 planner: OpenAI 图片路由新增 edit/variation 操作并完善参数校验、响应合并与流式处理
- 用量: user me usage 返回区分 client_requested_stream/upstream_is_stream,前端 usage 列表筛选与展示增强
- 统计: stats_daily_model 新增 cache_creation_ephemeral_5m/1h tokens 字段与回填链路
- 配额/observability: quota repository 新增内存与 SQL 扩展,admin observability usage 字段扩充
- 其它: OAuth 导入/轮询收敛、provider 汇总与 pool admin 读写链路小修、新增 system_config 缓存与 provider template handler
Closes #318
Co-authored-by: Entropy.Xu <[email protected]>
|
2026-04-23 14:42:51 +08:00 |
|
fawney19
|
87afe4898e
|
fix(frontend): 为配额自动刷新加入 5 分钟冷却并优化 OAuth org 徽章显示
- 新增 quotaAutoRefreshCooldown 工具,按 provider 维度限制后台自动刷新频率,手动触发(刷新 token、变更 key)通过 ignoreCooldown 绕过
- OAuth org 徽章去除 org- 前缀后再缩略,避免 org:org-xx 的重复前缀,并缩小字号高度以适配紧凑布局
|
2026-04-20 15:56:59 +08:00 |
|
fawney19
|
d100c934c0
|
fix(frontend): 优化 OAuth 身份徽章优先级并避免 Kiro 订阅标签重复
- getOAuthOrgBadge 优先展示 organization id, 其次回落到 account_id 或 account_user_id, 不再使用 account_name 作为徽章文案
- Kiro provider 的订阅标签仅在与 OAuth plan 标签不一致时显示, 避免重复徽章
- 补充 getOAuthOrgBadge 的单元测试覆盖组织优先与回落场景
|
2026-04-20 15:00:17 +08:00 |
|
fawney19
|
9b48a008dc
|
fix(frontend): 合并 OAuth 状态展示并移除 Codex 积分信息
- providerKeyStatus: 合并 snapshot 与 legacy OAuth 状态,按严重程度取优并补全失效原因
- ProviderDetailDrawer: 移除 Codex 积分摘要与相关字段显示
|
2026-04-20 14:27:48 +08:00 |
|
fawney19
|
7eae1f90f6
|
Unify quota snapshots and oauth refresh handling
|
2026-04-17 18:22:41 +08:00 |
|
 Entropy.Xuandfawney19
|
ac1a126756
|
fix(kiro,pool,model): 对齐 Kiro 管理链路并修复全局模型删除行为 (#305)
* feat(pool): 号池支持跳过额度耗尽账号
- 新增 pool_advanced.skip_exhausted_accounts 开关及高级设置 UI, 默认关闭并兼容旧配置
- 为 Codex/Kiro 增加额度耗尽判定, 接入请求侧候选跳过并新增 account_quota_exhausted skip reason
- 号池列表将额度耗尽账号标记为 blocked/额度耗尽, 并补充前后端相关测试
* fix(kiro): 对齐账号管理与 provider-query 的 Rust 行为
- 修复 Kiro 单条导入误走 import-refresh-token 的前端分流, 并为误用路径返回明确错误提示
- 为 Kiro 导入与本地请求链补齐 bearer 兼容, 同步放开账号启停等 Key 更新操作的 auth_type 校验
- 实现 Kiro provider-query 本地模型测试与 failover 执行链, 并修复结果弹窗在无 trace 时无法展示 attempts/响应体的问题
* fix(model): 删除全局模型时级联清理关联提供商模型
- 对齐 Python 版本删除逻辑, GlobalModel 删除前先在事务内清理关联的 Provider Model 记录
- 修复已绑定 Provider 的模型在 Rust SQL 仓库下会被外键约束拦住、无法正常删除的问题
- 增加管理端回归测试, 覆盖绑定 Provider Model 的 GlobalModel 删除场景
* fix(kiro,ci): 恢复 Kiro OAuth 持久化并修复 Rust CI
* Fix oauth-managed provider key semantics
---------
Co-authored-by: fawney19 <[email protected]>
|
2026-04-17 12:57:06 +08:00 |
|
fawney19
|
ddf18fed9a
|
feat: 扩展 Rust gateway 全功能模块,新增 billing/crypto/wallet crate 及完整数据层
- 新增 aether-billing、aether-crypto、aether-wallet 独立 crate
- aether-data 扩展 repository 层:announcements、auth_modules、billing、
candidate_selection、gemini_file_mappings、global_models、management_tokens、
oauth_providers、proxy_nodes、quota、users、wallet 等模块
- aether-gateway 新增 api/auth/billing/control/middleware/scheduler/usage/
video_tasks/hooks/maintenance/model_fetch/provider_transport 等功能模块
- 重构 executor decision 和 gateway state 为模块目录结构
- 新增 gateway router、frontdoor 路由层及对应测试
- Python 侧 API 路由重构,新增 compat/support 模块
- 前端 Logo 组件更新及 Provider 管理页面调整
|
2026-03-31 19:19:04 +08:00 |
|
fawney19
|
46737d32f8
|
feat: 引入 status_snapshot 统一 provider key 状态管理
- 新增 StatusSnapshot 模型,聚合 OAuth / 账号 / 配额三维状态
- 新增 StatusSnapshotStore 负责快照的持久化与查询
- 重构 response_builder / endpoint_models,基于 snapshot 输出状态字段
- 前端抽取 providerKeyStatus / oauthRefreshFeedback 工具函数,
统一 PoolManagement、ProviderDetailDrawer、BatchDialog 的状态展示
- errorParser 增加已知 OAuth 错误的友好提示
- refresher 适配 snapshot 写入,account_state 扩展状态分类
- 新增 alembic 迁移及存量数据回填脚本
- 补充前后端单元测试
|
2026-03-20 19:16:52 +08:00 |
|
fawney19
|
25d38ae632
|
feat(oauth): 账号封禁前置 OAuth 验证、抽取 provider_context、完善账号状态分类
- 新增 verify_oauth_before_account_block:在标记账号封禁前先尝试刷新 token,
区分 OAuth 过期与真正的账号级封禁,避免误标
- 抽取 provider_context.py 统一解析 provider_type,解决 ORM detached 访问问题
- account_state 新增 workspace_deactivated 分类和 auto-removable 状态集合,
补充中文验证关键词匹配
- OAuth refresh 成功后仅清除可恢复的 token 错误,不再自动清除账号级 block
- deploy.sh 依赖指纹改用纯 shell 实现,移除对 Python tomllib 的依赖
- 前端 Pool 管理页面新增筛选和批量操作优化
- 补充对应测试用例
|
2026-03-20 16:50:59 +08:00 |
|
fawney19
|
6984984c22
|
feat(provider): 重构模型测试对话框,加固 Vertex AI 传输层
模型测试:
- 将消息输入替换为完整 JSON 请求体编辑器,支持格式化和校验
- 新增端点选择面板,测试前可选择目标端点
- 新增调试检查器,可查看每次尝试的请求/响应头和体
- 结果视图改用 HorizontalRequestTimeline 组件展示请求追踪
- endpoint_checker 返回完整调试数据,通过 candidate extra_data 持久化
Vertex AI:
- 改进上下文检测逻辑,不再仅依赖 provider_type,支持从 base_url 推断
- Service Account 密钥现支持自动拉取模型(使用 auth_config 而非 api_key)
- 移除 Gemini Developer API 回退,API Key 仅走 Express 模式
- 端点表单为 Vertex AI 显示格式特定的默认路径模板
- 密钥格式校验仅在 auth_type/api_formats 变更时执行
其他:
- 禁用 ClaudeCode 提供商类型创建入口
- Dialog 组件新增 closeOnBackdrop 属性
|
2026-03-19 23:52:17 +08:00 |
|
fawney19
|
8a6a961900
|
feat: 增强 OAuth 标识展示与 Codex 调试日志
- 优化 OAuth badge 支持 account_id/account_user_id,tooltip 展示完整身份信息
- 重构池管理额度进度条布局,倒计时独立展示并增加样式区分
- Codex 插件增加 token 解析快照日志,便于排查 OAuth 透传问题
Closes #245
Co-Authored-By: kayphoon <[email protected]>
|
2026-03-19 00:50:18 +08:00 |
|
fawney19
|
1d72a8f9c1
|
feat: 流式空闲超时、健康监控查询优化、限流桶内存上限与维护清理修复
Close #233
Co-authored-by: AAEE86 <[email protected]>
- cli_monitor_mixin: 引入 STREAM_IDLE_TIMEOUT_SECONDS(可通过环境变量配置),
流传输开始后若超出空闲窗口无新 chunk 则提前取消并返回 504,避免长时间挂起
- stream_context: 新增 managed_recorded_bodies 上下文管理器,确保 chunks 在
telemetry 完成后及时释放;stream_telemetry 使用该接口统一管理 response body 构建
- health endpoint: 将状态聚合改为 GROUP BY 直接统计,事件列表按 api_format
单独查询,避免单次 limit 拉取大量记录导致的遗漏与性能问题;同时过滤不活跃
provider/endpoint,与公开健康接口保持一致
- endpoint health service: 修正时间线数据按 endpoint_id 而非 key_id 聚合
- token_bucket: 引入 max_buckets/bucket_expiry 上限与定时清理,防止内存无限增长;
修复 refill_rate=0 时 get_reset_time 除零异常;新增 _is_unlimited_rate_limit 判断
- maintenance_scheduler: 调整清理顺序(先删整行再按窗口清理),新增 newer_than
边界参数,避免同一行在同一轮中被重复改写
- sync_execute: 新增 create_pending_usage 开关,允许已预创建记录的调用方跳过重复创建
- quota_reader / provider_ops balance: 小幅修复与健壮性提升
- Dockerfile: 添加 MALLOC_ARENA_MAX=2 环境变量以降低 gunicorn worker RSS
- 补充相关测试覆盖
|
2026-03-18 23:38:26 +08:00 |
|
 fawney19andAAEE86
|
e0286aebe3
|
refactor: 共享请求管道、按需懒加载、流式内存护栏与连接池治理
- 抽取 ApiRequestPipeline 单例,44 个路由文件共享同一实例
- Handler/Adapter 模块级 __getattr__ 延迟导入,减少启动时间
- 新增 ensure_stream_buffer_limit() 流式内存护栏(16MB 单行 / 32MB 总量)
- HTTP 空闲连接清理与 curl_cffi LRU 会话池
- ensure_providers_bootstrapped 按需引导指定 provider_types
- Usage 事件序列化迁移至 msgpack,Redis codec 隔离
- 启动预热任务(/readyz 就绪门控)与优雅关闭
- 通知邮件模块独立开关与 SMTP 配置校验
- CryptoService DCL 线程安全修复
- 通知模块开关 DB 查询 30s 内存缓存
- /readyz 对 unknown 状态返回 503
- 预热关闭 5s 超时保护
- 预热适配器逐个 try-except 容错
- FormatConversionRegistry 哨兵模式防并发重复物化
- 流式缓冲检查无条件执行
Closes #230
Co-authored-by: AAEE86 <[email protected]>
|
2026-03-14 11:59:07 +08:00 |
|
fawney19
|
6e51a3f45d
|
feat: Provider 异步删除、可配置密码策略、Hub 超时优化及多项改进
- 新增 Provider 异步删除任务系统,后台分阶段删除子资源并清理残留引用
- 新增可配置密码策略等级(weak/medium/strong),支持系统设置面板调整
- aether-hub 升级至 0.1.4,idle timeout 支持禁用(设为 0),worker 默认超时调整为 120s
- OAuth 手动续期增加 Redis 分布式锁,防止并发刷新冲突
- ProxyNode 心跳检测改为 asyncio.to_thread,避免阻塞事件循环
- 删除 ModelMultiSelect 和 useInvalidModels,MultiSelect 组件通用化
- 明确 allowed_providers/allowed_api_formats 的 NULL 与空数组语义
- 前端 StandaloneKeyFormDialog、UserFormDialog 等多处 UI 优化
- 新增 Alembic 迁移脚本清理 Provider 删除后的残留引用
- 补充相关测试用例
|
2026-03-12 01:11:35 +08:00 |
|
fawney19
|
0d770d1c4d
|
feat(oauth): 新增 Codex account_user_id 和 organizations 字段采集、展示与判重
- 从 Codex id_token claims 和 token_response 中提取 account_user_id 和 organizations
- OAuth 判重逻辑改为优先按 account_user_id 匹配,支持同用户不同 Team 不误判
- 号池和 Provider 详情页展示组织标签、account ID 和 account_user_id
- 前端重复的 OAuth identity 工具函数提取到 utils/oauthIdentity.ts
- 后端重复的 normalize_oauth_organizations 提取到 core/provider_oauth_utils.py
|
2026-03-11 21:37:08 +08:00 |
|
AAEE86
|
4955166b85
|
fix(provider-mapping): 修复详情页映射延迟刷新并补齐 mapping-preview 缓存治理
- 前端:Provider 详情页在 key/模型关联/模型保存/映射保存后并行刷新 endpoints 与 mapping-preview
- 前端:为 mapping-preview 请求增加 requestId 保护,避免旧响应回写覆盖新状态
- 后端:Key.allowed_models 变更时按 provider 精准失效 mapping-preview 缓存
- 后端:GlobalModel 变更(含创建)时全量失效 mapping-preview 缓存
- 监控:在 Redis 缓存分类中新增 provider_mapping_preview(admin:providers:mapping-preview:*)
验证:
- frontend `npm run type-check`
- backend `python -m compileall`(相关文件)
- pytest 定向用例通过
|
2026-03-11 09:58:25 +08:00 |
|