feat:"拆分上游首字节/空闲/总期限并在执行期间续期预留与并发租约"
- OpenAiCompatibleProvider:总期限上限 3600 秒(默认仍 90),新增首字节与空闲超时,流式有数据即重置空闲窗口 - GatewayRequestExecutionService:调用期间定时续期钱包预留与 Redis 租约,结束即停 - ChatBillingService.renew 只延长 pending 预留;GatewayGuard 只续仍持有的租约,丢失不重建 - 新增本地 Docker 启动覆盖文件(预编译产物,仅监听 127.0.0.1) - 新增流式空闲/长流、续期、过期恢复不释放运行中调用、租约续期回归 验证:mvn -B -o clean verify 409 项通过(独立 PostgreSQL/Redis) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
1a608f8ff8
commit
aef5356c54
12 files changed
+263
-10
No files matched your search
@@ -0,0 +1,12 @@
|
||||
# Local test override: use prebuilt artifacts via Dockerfile.runtime and bind only to localhost.
|
||||
services:
|
||||
moyi-api:
|
||||
build:
|
||||
context: ../../control-plane-java
|
||||
dockerfile: Dockerfile.runtime
|
||||
frontend:
|
||||
build:
|
||||
context: ../../prototype
|
||||
dockerfile: Dockerfile.runtime
|
||||
ports: !override
|
||||
- "127.0.0.1:${MOYI_HTTP_PORT:-8080}:80"
|
||||
Reference in new issue
Block a user