Fix/gateway session end timeout#478
Draft
drive888 wants to merge 5 commits into
Draft
Conversation
Signed-off-by: Ziyang Guo <121015044+RerankerGuo@users.noreply.github.com>
Signed-off-by: Ziyang Guo <121015044+RerankerGuo@users.noreply.github.com>
Signed-off-by: Ziyang Guo <121015044+RerankerGuo@users.noreply.github.com>
Signed-off-by: drive888 <2085696241@qq.com>
Signed-off-by: drive888 <2085696241@qq.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联 Issue
Related to #235
Depends on #316.
变更说明
#316 提供了 #235 的共享
GatewayMemoryClient基线。本 PR 为
POST /session/end增加独立超时。会话结束可能需要等待 L1 抽取和队列刷新,耗时通常会超过普通的 recall 或 search 请求。主要修改
GatewayMemoryClientOptions增加可选的sessionEndTimeoutMstimeoutMsendSession()使用独立的 session-end 超时范围说明
相对于 #316,本 PR 的独有改动仅涉及 3 个 Gateway client 文件。
本 PR不包含新的 Adapter SDK、平台适配器、MCP Server 或 Gateway 运行时修改。
验证
验证结果
1 file / 5 tests passed5 files / 72 tests passedgit diff --check:通过当前状态
由于 #316 尚未合并,本 PR 暂时以 Draft 形式提交。