Add file type info for file inputs.

This commit is contained in:
Robin Huang 2025-05-26 22:44:17 -07:00
parent cb61c5edee
commit 7e614886b5
2 changed files with 2 additions and 2 deletions

View File

@ -382,7 +382,7 @@ class GeminiInputFiles(ComfyNodeABC):
"file": (
IO.COMBO,
{
"tooltip": "Input files to include as context for the model.",
"tooltip": "Input files to include as context for the model. Only accepts text (.txt) and PDF (.pdf) files for now.",
"options": input_files,
"default": input_files[0] if input_files else None,
},

View File

@ -885,7 +885,7 @@ class OpenAIInputFiles(ComfyNodeABC):
"file": (
IO.COMBO,
{
"tooltip": "Input files to include as context for the model.",
"tooltip": "Input files to include as context for the model. Only accepts text (.txt) and PDF (.pdf) files for now.",
"options": input_files,
"default": input_files[0] if input_files else None,
},