Merge pull request #6253 from VykosMolt/fix/generate-image-native-schema-5520

fix(tools): reject generate_image calls without a prompt
This commit is contained in:
Alexandre Teixeira
2026-10-30 19:44:56 +00:00
committed by GitHub
2 changed files with 60 additions and 0 deletions
+1
View File
@@ -41,6 +41,7 @@ _REQUIRED_NATIVE_TOOL_ARGS = {
"write_file": ("path",),
"edit_file": ("path",),
"apply_patch": ("patch_text", "patchText", "patch"),
"generate_image": ("prompt",),
"host_shell": ("command",),
}