follow-up(adapter): 基于 #316 添加 Dify 工作流适配器#2
Open
Qiyuanqiii wants to merge 1 commit into
Open
Conversation
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.
Refs TencentCloud#235
Depends on TencentCloud#316
定位说明
这是按维护者对 TencentCloud#438 的分流建议拆出的 TencentCloud#316 后续增量。
TencentCloud#316 已经提供 shared Gateway client / adapter kit 基线,因此本 PR 不再提供通用 Gateway SDK,也不引入第二套 Gateway client 抽象。Dify adapter 只复用 TencentCloud#316 的
GatewayMemoryClient边界,把 Dify workflow 字段映射到现有 Gateway/recall和/capture路由。本 PR 做了什么
DifyWorkflowMemoryAdapter。query/inputs.query映射到/recall。query与answer映射到/capture。GatewayMemoryClientOptions和GatewayMemoryClient。platform:user:conversationsession key。非目标范围
本 PR 不包含:
验证
截图