Skip to content
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

pull model if it doesn't exist #36

Open
Dino-Kupinic opened this issue Aug 14, 2024 · 0 comments
Open

pull model if it doesn't exist #36

Dino-Kupinic opened this issue Aug 14, 2024 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Milestone

Comments

@Dino-Kupinic
Copy link
Owner

Dino-Kupinic commented Aug 14, 2024

Is your feature request related to a problem? Please describe.
Instead of having to pull all the models we can just pull them if needed

Describe the solution you'd like
We could use ollama.pull("<model name>") if an error gets thrown from ollama.chat()

Current error:
fastapi.exceptions.HTTPException: 500: Internal Server Error: model "gemma2" not found, try pulling it first

@Dino-Kupinic Dino-Kupinic added documentation Improvements or additions to documentation enhancement New feature or request labels Aug 14, 2024
@Dino-Kupinic Dino-Kupinic added this to the Prototype milestone Aug 14, 2024
@Dino-Kupinic Dino-Kupinic self-assigned this Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant