Skip to content

feat(js/plugins/ollama): implemented dynamic model resolver and list actions for ollama plugin #2831

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Apr 30, 2025

Conversation

pavelgj
Copy link
Collaborator

@pavelgj pavelgj commented Apr 26, 2025

image

a few other changes:

made plugin options optional:

const ai = genkit({plugins:[ollama()]})

also added ollama.model and ollama.embedder helper functions:

ai.generate({
  model: ollama.model('gemma3:latest')
})

Checklist (if applicable):

@pavelgj pavelgj force-pushed the pj/js-ollama-list-actions branch from 9763f15 to 2343d84 Compare April 27, 2025 14:11
@pavelgj pavelgj marked this pull request as draft April 28, 2025 12:31
@pavelgj pavelgj marked this pull request as ready for review April 28, 2025 13:58
Base automatically changed from pj/js-plugin-list-actions to main April 28, 2025 18:52
@pavelgj pavelgj requested a review from ifielker April 30, 2025 16:33
@pavelgj pavelgj merged commit 2023053 into main Apr 30, 2025
5 checks passed
@pavelgj pavelgj deleted the pj/js-ollama-list-actions branch April 30, 2025 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants