mirror of
https://github.com/langgenius/dify.git
synced 2026-03-14 13:51:33 +08:00
fix: mcp update controller missing headers
This commit is contained in:
parent
3c6035490d
commit
8a68c2877b
@ -919,6 +919,7 @@ class ToolProviderMCPApi(Resource):
|
||||
parser.add_argument("server_identifier", type=str, required=True, nullable=False, location="json")
|
||||
parser.add_argument("configuration", type=dict, required=False, nullable=True, location="json")
|
||||
parser.add_argument("authentication", type=dict, required=False, nullable=True, location="json")
|
||||
parser.add_argument("headers", type=dict, required=False, nullable=True, location="json", default={})
|
||||
|
||||
args = parser.parse_args()
|
||||
if not is_valid_url(args["server_url"]):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user