refactor(mcp-gateway/server.py): 增强参数处理逻辑并增加默认值支持 #7
Open
q9722088 wants to merge 4 commits intoTimandes:mainfrom
Open
refactor(mcp-gateway/server.py): 增强参数处理逻辑并增加默认值支持 #7q9722088 wants to merge 4 commits intoTimandes:mainfrom
q9722088 wants to merge 4 commits intoTimandes:mainfrom
Conversation
added 4 commits
September 26, 2025 10:36
此提交改进了参数处理逻辑,增加了对参数类型的动态识别以及是否必填的判断,并且在参数定义中有默认值的情况下添加了默认值的支持。 Co-developed-by: Aone Copilot <noreply@alibaba-inc.com>
此提交改进了参数处理逻辑,增加了对参数类型的判断及默认值的支持,并修正了URL模板中的变量替换为字符串格式。 Co-developed-by: Aone Copilot <noreply@alibaba-inc.com>
调整工具参数的`required`字段处理方式,使其更准确地反映必需参数列表。 Co-developed-by: Aone Copilot <noreply@alibaba-inc.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.
refactor(mcp-gateway/server.py): 增强参数处理逻辑并增加默认值支持