This website requires JavaScript.
Explore
Help
Sign In
kgod
/
sub2api
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
8
Wiki
Activity
Files
ac1e273009ca951f5323d37986c4ff55f4a64839
sub2api
/
backend
/
internal
/
handler
T
History
kone
ac1e273009
Release Image / image (push)
Successful in 2m58s
Details
feat: support Gemini chat completions gateway
2026-06-05 10:37:47 +08:00
..
admin
release: prepare v0.1.140
2026-06-03 23:52:28 +08:00
dto
release: prepare v0.1.140
2026-06-03 23:52:28 +08:00
announcement_handler.go
merge upstream main
2026-02-02 22:13:50 +08:00
api_key_handler.go
feat(table): 表格排序与搜索改为后端处理
2026-04-09 18:14:28 +08:00
auth_current_user_test.go
fix(profile): stabilize identity binding management
2026-04-22 13:19:28 +08:00
auth_email_oauth_test.go
release: prepare v0.1.132
2026-05-15 22:33:43 +08:00
auth_email_oauth.go
release: prepare v0.1.132
2026-05-15 22:33:43 +08:00
auth_handler.go
release: prepare v0.1.132
2026-05-15 22:33:43 +08:00
auth_linuxdo_oauth_test.go
fix(auth): harden oauth identity upgrade paths
2026-04-22 14:56:56 +08:00
auth_linuxdo_oauth.go
release: prepare v0.1.132
2026-05-15 22:33:43 +08:00
auth_oauth_logout_test.go
fix(auth): harden pending oauth and backend mode flows
2026-04-22 12:30:00 +08:00
auth_oauth_pending_flow_test.go
Merge pull request
#2224
from lyen1688/feat-email-oauth-github-google
2026-05-07 10:07:28 +08:00
auth_oauth_pending_flow.go
release: prepare v0.1.132
2026-05-15 22:33:43 +08:00
auth_oauth_test_helpers_test.go
fix(auth): harden oauth callback adoption flows
2026-04-22 13:19:20 +08:00
auth_oidc_oauth_test.go
fix(auth): harden oauth identity upgrade paths
2026-04-22 14:56:56 +08:00
auth_oidc_oauth.go
release: prepare v0.1.132
2026-05-15 22:33:43 +08:00
auth_session_revocation_test.go
refactor(affiliate): tighten DI and harden inviter code validation
2026-04-25 08:44:18 +08:00
auth_wechat_oauth_test.go
refactor(affiliate): tighten DI and harden inviter code validation
2026-04-25 08:44:18 +08:00
auth_wechat_oauth.go
release: prepare v0.1.132
2026-05-15 22:33:43 +08:00
available_channel_handler_test.go
feat(channels): themed model popover + group-badge with rate, subscription & exclusivity
2026-04-21 21:44:34 +08:00
available_channel_handler.go
feat(channels): themed model popover + group-badge with rate, subscription & exclusivity
2026-04-21 21:44:34 +08:00
channel_monitor_user_handler.go
feat(channel-monitor): add feature switch settings + fix extra_models save
2026-04-21 00:21:29 +08:00
content_moderation_helper.go
feat(risk-control): add content moderation audit
2026-05-07 09:14:47 +08:00
endpoint_test.go
feat(openai): 同步生图 API 支持并接入图片计费调度
2026-04-22 12:30:08 +08:00
endpoint.go
feat(openai): 同步生图 API 支持并接入图片计费调度
2026-04-22 12:30:08 +08:00
failover_loop_test.go
feat: 支持 API Key 上游池模式同账号重试次数配置与自定义错误策略
2026-03-08 14:12:17 +08:00
failover_loop.go
feat: 支持 API Key 上游池模式同账号重试次数配置与自定义错误策略
2026-03-08 14:12:17 +08:00
gateway_handler_billing_error_test.go
feat(rpm): RPM 限流模块优化
2026-04-23 16:34:37 +08:00
gateway_handler_chat_completions.go
feat: support Gemini chat completions gateway
2026-06-05 10:37:47 +08:00
gateway_handler_error_fallback_test.go
feat(backend): 提交后端审计修复与配套测试改动
2026-02-14 11:23:10 +08:00
gateway_handler_intercept_test.go
fix: 收敛 Claude Code 探测拦截并补齐回归测试
2026-02-07 19:04:08 +08:00
gateway_handler_responses.go
feat(risk-control): add content moderation audit
2026-05-07 09:14:47 +08:00
gateway_handler_stream_failover_test.go
增加测试
2026-03-15 16:21:49 +08:00
gateway_handler_warmup_intercept_unit_test.go
test: update gateway service constructor usage
2026-05-17 06:33:26 +08:00
gateway_handler.go
feat(risk-control): add content moderation audit
2026-05-07 09:14:47 +08:00
gateway_helper_backoff_test.go
test: 为代码审核修复添加详细单元测试(7个测试文件,50+测试用例)
2026-02-07 22:14:07 +08:00
gateway_helper_fastpath_test.go
feat: cleanup stale concurrency slots on startup
2026-03-09 19:55:18 +08:00
gateway_helper_hotpath_test.go
fix: 修复 hotpath 测试中 metadata.user_id 格式不合法导致 CI 失败
2026-03-18 11:31:32 +08:00
gateway_helper_test.go
fix(并发): 修复 wrapReleaseOnDone goroutine 泄露问题
2026-01-06 20:31:40 +08:00
gateway_helper.go
feat(gateway): 添加 Claude Code 客户端最低版本检查功能
2026-03-01 15:45:44 +08:00
gemini_cli_session_test.go
fix(gateway): harden digest logging and align antigravity ops
2026-02-07 17:12:15 +08:00
gemini_v1beta_handler_test.go
fix(handler): fallback known gemini models on v1beta 404
2026-04-01 02:20:13 +08:00
gemini_v1beta_handler.go
feat(risk-control): add content moderation audit
2026-05-07 09:14:47 +08:00
handler.go
Merge remote-tracking branch 'pr/2131' into release/v0.1.133
2026-05-16 01:55:39 +08:00
idempotency_helper_test.go
feat(idempotency): 为关键写接口接入幂等并完善并发容错
2026-02-23 12:45:37 +08:00
idempotency_helper.go
feat(idempotency): 为关键写接口接入幂等并完善并发容错
2026-02-23 12:45:37 +08:00
image_concurrency_limiter_test.go
feat: add OpenAI image generation controls
2026-05-05 03:26:54 +08:00
image_concurrency_limiter.go
feat: add OpenAI image generation controls
2026-05-05 03:26:54 +08:00
logging.go
chore(logging): 完成后端日志审计与结构化迁移
2026-02-12 19:01:09 +08:00
openai_chat_completions.go
feat(risk-control): add content moderation audit
2026-05-07 09:14:47 +08:00
openai_gateway_compact_log_test.go
fix(openai): bump codex CLI version from 0.104.0 to 0.125.0
2026-04-25 05:26:33 +00:00
openai_gateway_endpoint_normalization_test.go
refactor: migrate all handlers to shared endpoint normalization middleware
2026-03-15 22:13:42 +08:00
openai_gateway_handler_test.go
feat(risk-control): add content moderation audit
2026-05-07 09:14:47 +08:00
openai_gateway_handler.go
feat(risk-control): add content moderation audit
2026-05-07 09:14:47 +08:00
openai_images_controls_test.go
feat: add OpenAI image generation controls
2026-05-05 03:26:54 +08:00
openai_images.go
feat(risk-control): add content moderation audit
2026-05-07 09:14:47 +08:00
ops_error_logger_test.go
refactor(test): improve type assertions in ops endpoint context tests
2026-03-24 09:52:56 +08:00
ops_error_logger.go
feat(openai): 同步生图 API 支持并接入图片计费调度
2026-04-22 12:30:08 +08:00
page_handler_test.go
fix: harden markdown page image paths
2026-05-07 10:05:49 +08:00
page_handler.go
fix: harden markdown page image paths
2026-05-07 10:05:49 +08:00
payment_handler_resume_test.go
feat: add Airwallex payments and multi-currency support
2026-05-11 11:17:26 +08:00
payment_handler.go
feat: add Airwallex payments and multi-currency support
2026-05-11 11:17:26 +08:00
payment_webhook_handler_test.go
feat: add Airwallex payments and multi-currency support
2026-05-11 11:17:26 +08:00
payment_webhook_handler.go
feat: add Airwallex payments and multi-currency support
2026-05-11 11:17:26 +08:00
redeem_handler.go
refactor: 调整项目结构为单向依赖
2025-12-26 16:45:40 +08:00
request_body_limit_test.go
perf(后端): 完成性能优化与连接池配置
2025-12-31 08:50:12 +08:00
request_body_limit.go
perf(后端): 完成性能优化与连接池配置
2025-12-31 08:50:12 +08:00
setting_handler_public_test.go
feat(settings): support dual-mode wechat oauth defaults
2026-04-21 20:36:10 +08:00
setting_handler.go
feat: 添加登录注册条款确认
2026-05-07 17:35:05 +08:00
subscription_handler.go
refactor: 调整项目结构为单向依赖
2025-12-26 16:45:40 +08:00
totp_handler.go
merge upstream main
2026-02-02 22:13:50 +08:00
usage_handler_request_type_test.go
feat(table): 表格排序与搜索改为后端处理
2026-04-09 18:14:28 +08:00
usage_handler_sort_test.go
feat(table): 表格排序与搜索改为后端处理
2026-04-09 18:14:28 +08:00
usage_handler.go
feat(table): 表格排序与搜索改为后端处理
2026-04-09 18:14:28 +08:00
usage_record_submit_task_test.go
feat: add OpenAI image generation controls
2026-05-05 03:26:54 +08:00
user_handler_test.go
feat: add redeem code affiliate rebate, batch concurrency API, and markdown page rendering
2026-05-05 06:44:37 -07:00
user_handler.go
refactor(affiliate): tighten DI and harden inviter code validation
2026-04-25 08:44:18 +08:00
user_msg_queue_helper.go
feat(gateway): 双模式用户消息队列 — 串行队列 + 软性限速
2026-03-03 01:05:11 +08:00
wire.go
Merge remote-tracking branch 'pr/2131' into release/v0.1.133
2026-05-16 01:55:39 +08:00