Skip to content

Conversation

@CorieW
Copy link
Contributor

@CorieW CorieW commented Sep 25, 2025

Resolves #351

What this does

  • Upgrades Genkit to the latest version
  • Migrates the plugin API to v2 (doc)

Testing

  • Checked that the models and embedders load with the same names/prefixes on the UI.
  • Checked that at least one model works consistent with pre-migration on the UI.
  • Checked that at least one embedder works consistent with pre-migration on the UI.
  • Using a model object, checked using a flow works consistent with pre-migration.
  • Using an embedder object, checked using a flow works consistent with pre-migration.
  • Using a model string ('pluginName/modelName'), checked using a flow works consistent with pre-migration.
  • Using an embedder string, checked using a flow works consistent with pre-migration.
  • Tested error response from embedder.
  • Tested error response from model.
  • Tested resolve

Differences

  • When an error occurs, the error response is different for models (not for embedders):
    v1 image
    v2 image

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.

refactor: migrate cohere plugin to V2 Plugin API

1 participant