Add new Ollama Cloud Free API#239
Conversation
Ollama Cloud supports free API on open source models, users need to register and create API keys, usage example is available on https://docs.ollama.com/cloud
Summary of ChangesHello @hirendave47, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request expands the available options for free API access to large language models by integrating Ollama Cloud's free API offering. It provides users with a new avenue to utilize open-source models without cost, complete with details on how to access the service and the specific models supported by their free tier. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request adds Ollama Cloud to the list of API providers. My review focuses on three main points. The most important issue is that the README.md file, which is auto-generated, was edited directly. The correct process is to modify the generation script src/pull_available_models.py. I've also pointed out that the new provider is listed in the wrong category and that its name is inconsistent with others in the list. All these issues can be resolved by updating the Python script.
This reverts commit 7688c6d.
Ollama Cloud supports free API on open source models, users need to register and create API keys, usage example is available on https://docs.ollama.com/cloud