Skip to content

Commit

Permalink
fix(js/plugins/vertexai): add models temporarily to reranker subplugin
Browse files Browse the repository at this point in the history
  • Loading branch information
cabljac committed Oct 18, 2024
1 parent fc3f8b1 commit d073e72
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/plugins/vertexai/src/reranker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ export const vertexAIReranker: Plugin<[PluginOptions]> = genkitPlugin(

return {
rerankers,
// We add this here just to satisfy the types. The plugin return types will soon be removed, there
// is no need to add rerankers to that return type.
models: [],
};
}
);
Expand Down

0 comments on commit d073e72

Please sign in to comment.