Skip to content

Conversation

HassanBahati
Copy link
Member

@HassanBahati HassanBahati commented Sep 11, 2025

Fixes #3456

Plugin migration guide

Notable Changes

  • added interface ResolveActionOptions for cleaner destructuring of resolveActions args
  • added a OllamaEmbedderConfig schema so that serverAddress comes through on request options.
  • used OllamaConfigSchema in model<> for better type safety
  • added several test suites for better coverage
  • Updated and added integration tests with the core genkit framework, for streaming responses and tool calls.
  • All existing plugin tests pass

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.
image
  • Using a model string ('pluginName/modelName'), checked using a flow works consistent with pre-migration.
image
  • Tested that the trace on flows are the same.
image
  • Tested error response from model.
image
  • Tested ollama().resolve(...).
image

@github-actions github-actions bot added the config label Oct 7, 2025
@cabljac cabljac force-pushed the @invertase/migrate-ollama-plugin-to-pluginv2-api branch 2 times, most recently from 03dbebe to b0848d8 Compare October 13, 2025 15:57
@cabljac cabljac force-pushed the @invertase/migrate-ollama-plugin-to-pluginv2-api branch from 647d64a to 5a8ebf9 Compare October 14, 2025 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

refactor: migrate ollama plugin to V2 Plugin API

4 participants