assistant_tools: Disallow extra tool parameters by default (#32081)
This prevents models from hallucinating tool parameters. Release Notes: - Prevent models from hallucinating tool parameters
This commit is contained in:
parent
79f96a5afe
commit
cde47e60cd
2 changed files with 70 additions and 1 deletions
|
@ -126,6 +126,7 @@ mod tests {
|
|||
}
|
||||
},
|
||||
"required": ["location"],
|
||||
"additionalProperties": false
|
||||
})
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue