Skip to content

Conversation

kylesf
Copy link
Contributor

@kylesf kylesf commented Apr 24, 2025

Summary

This pull request adds a new VideoUrl support to Gemeni and builds off MR #1435

Changes
Added support for VideoUrl to the Gemeni Models
Fix Doc Spelling Error

Type of Change
[x] Feature (new functionality)
[]Bug fix
[x] Documentation update

Checklist
[x] I have added tests
[x] I have updated the documentation
[x] I have performed a self-review of my own code

Not sure, what I may be missing. Let me know. Thanks

Copy link
Contributor

hyperlint-ai bot commented Apr 24, 2025

PR Change Summary

Added support for VideoUrl in Gemeni models and updated documentation accordingly.

  • Introduced VideoUrl support to Gemeni models
  • Corrected documentation regarding video input support
  • Updated tests to include new VideoUrl functionality

Modified Files

  • docs/input.md

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

Copy link
Collaborator

@DouweM DouweM left a comment

Choose a reason for hiding this comment

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

Implementation looks good! Let's tweak the tests a bit...

)

result = await agent.run(['Explain me this video', video_url])
assert result.output.strip() == (
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you please use the snapshot helper here and up above? It should pass the assertion just the same, but will be easier to update if we ever re-run the request (skipping VCR) and the output changes slightly.

@kylesf
Copy link
Contributor Author

kylesf commented Apr 24, 2025

Think it's all set!

@kylesf kylesf closed this Apr 24, 2025
@kylesf kylesf reopened this Apr 24, 2025
@DouweM
Copy link
Collaborator

DouweM commented Apr 25, 2025

@kylesf I think you forgot to push your new commit into the PR :)

@kylesf
Copy link
Contributor Author

kylesf commented Apr 25, 2025

@DouweM :)

@DouweM DouweM self-assigned this Apr 25, 2025
Copy link
Member

Choose a reason for hiding this comment

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

Can we please use a shorter video?

Copy link
Member

Choose a reason for hiding this comment

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

Besides this, the PR seems perfect. 🙏

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Kludex changed to 6 second video. Let me know if thats okay!

Copy link
Member

Choose a reason for hiding this comment

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

If you make it 1 second, I press merge. 👀

(I can also do it if you are annoyed)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Kludex tiny video

@DouweM DouweM assigned Kludex and unassigned DouweM Apr 25, 2025
@Kludex Kludex enabled auto-merge (squash) April 26, 2025 12:02
@Kludex Kludex merged commit 1a16ca3 into pydantic:main Apr 26, 2025
14 checks passed
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.

3 participants