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 missing ollama models #4474

Merged
merged 2 commits into from
Mar 8, 2025
Merged

Conversation

fbricon
Copy link
Contributor

@fbricon fbricon commented Mar 4, 2025

Description

This adds the ability to pull missing ollama models.

Checklist

  • [] The relevant docs, if any, have been updated or created
  • [] The relevant tests, if any, have been updated or created

Screenshots

install-missing-ollama-model.mp4

Testing instructions

Hopefully that should be fairly straightforward:

  • define a new (missing) ollama model
  • perform completion or a chat request
  • click install when a notification prompts you about the missing model

Copy link

netlify bot commented Mar 4, 2025

Deploy Preview for continuedev ready!

Name Link
🔨 Latest commit d9c3d44
🔍 Latest deploy log https://app.netlify.com/sites/continuedev/deploys/67c9dada449a240008935227
😎 Deploy Preview https://deploy-preview-4474--continuedev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@fbricon
Copy link
Contributor Author

fbricon commented Mar 4, 2025

This PR still needs some love as context menu commands still need to be hooked up on this new mechanism.

Screenshot 2025-03-04 at 12 18 08

fbricon added 2 commits March 6, 2025 11:30
Signed-off-by: Fred Bricon <fbricon@gmail.com>
Signed-off-by: Fred Bricon <fbricon@gmail.com>
@fbricon fbricon force-pushed the pull-ollama-model branch from e7d1cf1 to d9c3d44 Compare March 6, 2025 17:26
@fbricon
Copy link
Contributor Author

fbricon commented Mar 6, 2025

Ollama error management is now centralized and shared across chat, completion and commands. So you can start ollama or pull a model in all those cases.

Mar-06-2025 18-35-58

Let me know if I missed something in other places.

@sestinj
Copy link
Contributor

sestinj commented Mar 8, 2025

This looks great

@sestinj sestinj merged commit 58d62fa into continuedev:main Mar 8, 2025
31 checks passed
amos42 pushed a commit to amos42/continue that referenced this pull request Mar 10, 2025
Fixed the problem where log information was not transmitted even when registering an autocomplete event in the data section of config.json.

Signed-off-by: Ju, Gyeongmin <jcmh74@gmail.com>
@amos42 amos42 mentioned this pull request Mar 10, 2025
halfline added a commit to Granite-Code/granite-code that referenced this pull request Mar 10, 2025
This includes a feature from Fred Bricon to
be able to automatically download missing models
on the fly.

continuedev/continue#4474
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.

2 participants