Add Ollama provider support and refine-with-note option#10
Open
infpdev wants to merge 1 commit into
Open
Conversation
- introduce ollama as a new provider option - update setup to handle ollama provider without api key - refine model selection and api key prompts for better user experience - add ollama to the list of supported providers for key management
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add native support for running
scomagainst a local Ollama server, improve refine guidance handlingI mainly implemented this so I could use Ollama as the primary provider locally while still keeping cloud models available as fallbacks when needed..
Related issue
Closes #9
What changed
ollamaprovider without API-key requirements and routed Ollama requests through/api/tagsand/api/generate.Testing
scom setupwith Ollama selected as provider./api/tags./api/generate.Manual checks
GET /api/tags.POST /api/generatewith model fallback.short,detailed,adaptive).Preview
Example of using a local Ollama model together with the interactive "Refine with Note" workflow:
Checklist
dev. (The contributing guide mentions targetingdev, but the repository currently only exposesmain, so this PR targetsmaininstead)