chore(file_manager): Reformat

Signed-off-by: -LAN- <laipz8200@outlook.com>
pull/22704/head
-LAN- 10 months ago
parent f7a0e71abd
commit ed1ea5129b
No known key found for this signature in database
GPG Key ID: 6BA0D108DED011FF

@ -80,9 +80,7 @@ def to_prompt_message_content(
# Check if file type is supported # Check if file type is supported
if f.type not in prompt_class_map: if f.type not in prompt_class_map:
# For unsupported file types, return a text description # For unsupported file types, return a text description
return TextPromptMessageContent( return TextPromptMessageContent(data=f"[Unsupported file type: {f.filename} ({f.type.value})]")
data=f"[Unsupported file type: {f.filename} ({f.type.value})]"
)
# Process supported file types # Process supported file types
params = { params = {

Loading…
Cancel
Save