magic-commit icon indicating copy to clipboard operation
magic-commit copied to clipboard

add ollama as model provider

Open warengonzaga opened this issue 1 year ago • 4 comments

It's time to add a new model provider that can run locally named "Ollama."

Here's the documentation: https://github.com/ollama/ollama/blob/main/docs/api.md

Goal:

  • Create a script that can communicate with Ollama.
  • Add that option to our existing options as another provider while leaving OpenAI as default. (for now)
  • Add documentation on how to set up and use Ollama with Magic Commit.
  • Ensure that we can support any model provided by Ollama.

If you have any questions, please let me know by tagging me.

warengonzaga avatar Oct 12 '24 06:10 warengonzaga

@warengonzaga can you asign this task to me

promiseer avatar Oct 16 '24 05:10 promiseer

Done, feel free to submit PR. Please don't forget to read contributing file to learn more about dev workflow.

warengonzaga avatar Oct 16 '24 05:10 warengonzaga

Hey @warengonzaga Please review PR #23. There are many changes, and I'm open to feedback.

promiseer avatar Oct 16 '24 13:10 promiseer

Fix the conflicts and then update the folder structures.

warengonzaga avatar Oct 16 '24 14:10 warengonzaga