Skip to content

Commit

Permalink
log mime type
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasjansson committed Oct 9, 2024
1 parent 0990308 commit 16d18b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cog_safe_push/ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ def create_content_list(
if mime_type is None:
mime_type = "application/octet-stream"

log.v(f"Detected mime type {mime_type} for {path}")

content.append(
{
"type": "image", # only image is supported
Expand Down

0 comments on commit 16d18b1

Please sign in to comment.