Skip to content

Conversation

cabljac
Copy link
Contributor

@cabljac cabljac commented Aug 26, 2025

This PR migrates the googleai plugin to the v2 API

Resolves #3443

  • manually tested

@github-actions github-actions bot added the js label Aug 26, 2025
@cabljac cabljac requested a review from CorieW August 26, 2025 08:37
@cabljac cabljac force-pushed the @invertase/migrate-googleai-plugin branch 2 times, most recently from 3126f71 to df51ca8 Compare August 26, 2025 09:41
@cabljac cabljac requested a review from CorieW August 26, 2025 14:09
@cabljac cabljac marked this pull request as ready for review August 26, 2025 14:56
@cabljac
Copy link
Contributor Author

cabljac commented Aug 28, 2025

(Giving this another self-review and some manual testing)

@cabljac cabljac force-pushed the @invertase/migrate-googleai-plugin branch from d74f7f4 to f66475b Compare August 28, 2025 11:19
@cabljac cabljac requested a review from pavelgj September 16, 2025 15:49
@pavelgj pavelgj requested a review from ifielker September 16, 2025 15:54
async () => {
return genkitPluginV2({
name: 'googleai',
async init() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

@ifielker can we drop init function? Is there anything here that can't be dynamically resolved by the resolver? and/or not returned by list?

Copy link
Collaborator

@ifielker ifielker left a comment

Choose a reason for hiding this comment

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

Before I review any further... why are we refactoring an essentially deprecated plugin?

@pavelgj
Copy link
Collaborator

pavelgj commented Sep 16, 2025

Before I review any further... why are we refactoring an essentially deprecated plugin?

ah, I thought it was plugins/google-genai/googleai... but either way, we might as well, so that we don't have loose ends w.r.t. to the v2 plugin api migration. We haven't done much planning on exactly how we're going to deprecate this plugin...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

refactor: migrate googleai plugin to V2 Plugin API
4 participants