Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
error2913
aiplugin4
Repository navigation
Code
Issues
12
(12)
Pull requests
Actions
Projects
Security and quality
Insights
More
items
feat(quota): 用量限制(三窗口预算 + 会话/个人/用途百分比 + 峰时系数,Closes #59)
- #166
#166
Merged
error2913
merged 17 commits into
main
error2913/aiplugin4:main
from
feat/issue-59-token-quota
error2913/aiplugin4:feat/issue-59-token-quota
Copy head branch name to clipboard
Nov 8, 2026
Conversation
Commits
17
(17)
Checks
Files changed
Merged
feat(quota): 用量限制(三窗口预算 + 会话/个人/用途百分比 + 峰时系数,Closes #59)
#166
error2913
merged 17 commits into
main
error2913/aiplugin4:main
from
feat/issue-59-token-quota
error2913/aiplugin4:feat/issue-59-token-quota
Copy head branch name to clipboard
Commits
Commits on Nov 8, 2026
feat(quota): 新增用量限制内核(窗口/存储/判定/预留)
Show description for 8a9a28a
error2913
committed
8a9a28a
View commit details
Copy full SHA for 8a9a28a
Browse repository at this point
feat(quota): 注册用量限制配置页(12 键,默认关闭)
Show description for 39f8c6a
error2913
committed
39f8c6a
View commit details
Copy full SHA for 39f8c6a
Browse repository at this point
build(deps): 分层规则新增 src/quota/** 为 L2
Show description for 9a0486c
error2913
committed
9a0486c
View commit details
Copy full SHA for 9a0486c
Browse repository at this point
test(quota): 补充配额内核单测(46 例)
Show description for 101d041
error2913
committed
101d041
View commit details
Copy full SHA for 101d041
Browse repository at this point
feat(quota): ChatOutcome 增加 quota 并接入起轮/写前预检/身份归属
Show description for a7661d9
error2913
committed
a7661d9
View commit details
Copy full SHA for a7661d9
Browse repository at this point
feat(quota): 模型请求细闸/预留与异常穿透(含流式结算归因)
Show description for 0bba9f6
error2913
committed
0bba9f6
View commit details
Copy full SHA for 0bba9f6
Browse repository at this point
test(quota): 补齐 P1 拦截链与请求链路单测(12 例)
Show description for c938ceb
error2913
committed
c938ceb
View commit details
Copy full SHA for c938ceb
Browse repository at this point
docs(quota): 外部 API 与 bypassGate 的配额语义注释
error2913
committed
35bf163
View commit details
Copy full SHA for 35bf163
Browse repository at this point
fix(cmd): 子命令短别名在权限链中失效(tk/memo/md/priv 等)
Show description for c11c37f
error2913
committed
c11c37f
View commit details
Copy full SHA for c11c37f
Browse repository at this point
feat(quota): .ai tk quota/me/rank 与 quota clear 命令
Show description for 786d00f
error2913
committed
786d00f
View commit details
Copy full SHA for 786d00f
Browse repository at this point
docs(quota): 用量限制配置/命令/存储/架构文档同步
Show description for 519b433
error2913
committed
519b433
View commit details
Copy full SHA for 519b433
Browse repository at this point
chore(changelog): 4.31.0 用量限制条目
Show description for 49f466c
error2913
committed
49f466c
View commit details
Copy full SHA for 49f466c
Browse repository at this point
fix(quota): 节流表清理按各自窗口判过期;补 AC-10 并发预留单测
Show description for 13c2210
error2913
committed
13c2210
View commit details
Copy full SHA for 13c2210
Browse repository at this point
test(quota): 补 AC-09 用途降级单测(嵌入→[]、识图→'')
Show description for bbd4de1
error2913
committed
bbd4de1
View commit details
Copy full SHA for bbd4de1
Browse repository at this point
test(quota): 补 AC-17 身份矩阵单测(私聊 sid==uid、外部调用只记 total)
Show description for c689520
error2913
committed
c689520
View commit details
Copy full SHA for c689520
Browse repository at this point
test(quota): 补 AC-14 配置越界回退单测
Show description for 1048f73
error2913
committed
1048f73
View commit details
Copy full SHA for 1048f73
Browse repository at this point
test(quota): AC-04 断言拒绝时上下文无残留
error2913
committed
af5db96
View commit details
Copy full SHA for af5db96
Browse repository at this point
You can’t perform that action at this time.