Skip to content

修复服务方法描述等更新网关 gateway tool list 不更新的问题#187

Open
xiangshenb wants to merge 1 commit intospring-ai-alibaba:mainfrom
xiangshenb:fix-gateway-update
Open

修复服务方法描述等更新网关 gateway tool list 不更新的问题#187
xiangshenb wants to merge 1 commit intospring-ai-alibaba:mainfrom
xiangshenb:fix-gateway-update

Conversation

@xiangshenb
Copy link

Describe what this PR does / why we need it

修复服务方法描述更新后,网关工具列表不自动刷新的问题。
之前修改了服务方法描述,但网关的 tool list 仍然显示旧数据,导致用户看到信息不一致。
本次修改确保更新服务方法描述后,gateway tool list 会正确刷新。

Does this pull request fix one issue?

NONE

Describe how you did it

在服务方法更新逻辑中增加了 gateway tool list 的刷新调用。
保证每次修改服务方法描述后,相关缓存/列表会同步更新。

Describe how to verify it

  1. 修改某个服务方法的描述
  2. 查看 gateway tool list 是否立即更新显示最新描述,mcp gateway 无需重启
  3. 确认旧描述不再显示,且列表功能正常

Special notes for reviews

无特殊注意事项,修改仅影响服务方法描述更新逻辑和 gateway tool list 刷新

@github-actions
Copy link

github-actions bot commented Mar 2, 2026

CLA Assistant Lite bot:
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


xiangshen seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You can retrigger this bot by commenting recheck in this Pull Request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant