MODEL API
Shared model access
多租户模型 API
Gateway action网关动作Grant and admit by model
按模型授权与准入
Authenticate locally, enforce grants and capacity limits, then rewrite approved model names.
本地鉴权,执行模型授权与容量限制,再重写已批准的模型名称。
Operational effect运行效果One request path decides who may use which model and how much capacity they may consume.
同一条请求路径决定谁能使用哪个模型,以及可以占用多少容量。
BACKENDS
Provider instability
模型后端波动
Gateway action网关动作Select from live runtime state
基于实时状态选择后端
Combine health, circuit state, sticky selection, balancing, failover, and mirroring.
组合健康检查、熔断状态、粘性选择、均衡、故障转移和镜像。
Operational effect运行效果Failed targets stop receiving work, while fallback ends once a response has started.
故障目标停止接收请求,响应开始后不再执行 fallback。
LONG-LIVED
SSE, WebSocket, gRPC
Gateway action网关动作Bound the stream, not only the socket
约束整条流,而不只是连接
Separate first-response, idle-stream, and total-operation limits with backpressure and bounded drain.
分别设置首响应、流空闲和总操作时限,并处理背压与有界排空。
Operational effect运行效果Long sessions remain controlled during upstream stalls, client disconnects, and shutdown.
上游停滞、客户端断连和进程关闭时,长会话仍然可控。
DESIRED STATE
Fleet configuration change
网关集群配置变更
Gateway action网关动作Compile, then atomically activate
先编译,再原子激活
Validate listeners, references, policy, and health as one complete ACL or Cloud snapshot.
将监听器、引用、策略和健康规则作为完整 ACL 或 Cloud 快照统一校验。
Operational effect运行效果Rejected state leaves the prior runtime active. In-flight requests keep their starting snapshot.
候选状态被拒绝时继续运行上一版本,在途请求保留启动时快照。