Skip to content

Add mime_type and id fields to ImageContent class#1715

Merged
lukasIO merged 3 commits intodev-1.0from
lukas/add-mimetype
Mar 24, 2025
Merged

Add mime_type and id fields to ImageContent class#1715
lukasIO merged 3 commits intodev-1.0from
lukas/add-mimetype

Conversation

@lukasIO
Copy link
Copy Markdown
Contributor

@lukasIO lukasIO commented Mar 24, 2025

No description provided.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 24, 2025

⚠️ No Changeset found

Latest commit: 277853e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 24, 2025

✅ Changeset File Detected

The following changeset entries were found:

  • patch - livekit-agents

Change description:
Add mime_type and id fields to ImageContent class (#1715)

@lukasIO lukasIO requested review from longcw and theomonnom March 24, 2025 11:06
"""
MIME type of the image
"""
id: str = Field(default_factory=lambda: utils.shortuuid("img_"))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, I would move id as the first field of the class

@lukasIO lukasIO merged commit 97b3c27 into dev-1.0 Mar 24, 2025
2 checks passed
@lukasIO lukasIO deleted the lukas/add-mimetype branch March 24, 2025 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants