mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-22 13:34:17 +02:00
Do not silently exclude the "context" key from JSON body (#1153)
This commit is contained in:
parent
7ce0a59ea6
commit
5151f218cf
1 changed files with 1 additions and 3 deletions
|
|
@ -459,9 +459,7 @@ class OpenAPITool(Tool):
|
|||
params_to_exclude.add(p.name)
|
||||
|
||||
body_params = {
|
||||
k: v
|
||||
for k, v in arguments.items()
|
||||
if k not in params_to_exclude and k != "context"
|
||||
k: v for k, v in arguments.items() if k not in params_to_exclude
|
||||
}
|
||||
|
||||
if body_params:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue