zackcxb

Results comments of zackcxb

> The Agent Gateway data model is a 1:1 mapping: **one session = one linear conversation = one trajectory**. All state is stored as singleton fields on `GatewaySessionState`: > >...

> 作者你好,请问这个有最终的PR吗? 这个和maintainer沟通后提到了uni-agent子仓,这个仓专门做AgenticRL相关的特性,欢迎使用:https://github.com/verl-project/uni-agent/tree/main/uni_agent/gateway。 具体使用方式可参考https://github.com/verl-project/uni-agent/pull/73

@SendoRay Hi there, thank you so much for volunteering to implement this RFC! We’ve already prepared a draft PR and plan to open it by tomorrow. Our implementation is largely...

> 在轨迹还没有完成情况下,AgentGateway 需要暂存并发请求情况下所有中间数据?为了避免中心化压力,是不是默认设置这个 ray actor 就是至少 num gpu worker 个,并且强制分散编排,否则这个压力也是很大的。是否将 AgentGateway 做成无状态的会更好? 是的,GatewayActor目前设计是要存储live session的中间数据,因为还要存储历史轨迹数据做前缀校验,所以不适合做成无状态的。当前我们GatewayActor是设计成可以起多个来分摊流量压力,不过还没有提供默认配置策略,需要用户自己提供数量,后续应该会补充一个。 由于GatewayActor是CPU侧的,直接拿num gpu worker做默认值不一定合适。我的直觉是默认最少每个节点上放一个,后续会跑一些端到端测试看下per actor承受的压力,多模态场景和纯文本场景差别可能会比较大。

> Hi [@zackcxb](https://github.com/zackcxb), thanks for the great RFC! > > I have a quick question regarding the lifecycle and scope of session_id. There seems to be a slight ambiguity: >...