chore: upgrade - #1127
Conversation
|
You do not have enough credits to review this pull request. Please purchase more credits to continue. |
Summary of ChangesHello, 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 performs an automated upgrade by extending the system's configuration to support additional local large language model providers. The change enables integration with LMStudio and Ollama, enhancing the flexibility and capabilities for local model interactions. Highlights
Changelog
Activity
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
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughTwo new model provider configurations have been added to the TOML configuration file: LMStudio and Ollama, each with their respective API base URLs. These new entries complement the existing CLIProxyAPI and OpenRouter providers, expanding the available model provider options without modifying existing configurations. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Mesa DescriptionTL;DRAutomated dependency upgrade. What changed?Changes related to an automated upgrade. Specific file changes are not available in the provided summary. Description generated by Mesa. Update settings |
| [model_providers.lmstudio] | ||
| name = "LMStudio" | ||
| base_url = "http://127.0.0.1:1234/v1" | ||
|
|
||
| [model_providers.ollama] | ||
| name = "Ollama" | ||
| base_url = "http://127.0.0.1:11434/v1" |
There was a problem hiding this comment.
For consistency with the cliproxyapi provider which uses localhost, it would be better to use localhost here as well instead of 127.0.0.1. This improves readability and maintains a consistent style for local service endpoints in the configuration.
| [model_providers.lmstudio] | |
| name = "LMStudio" | |
| base_url = "http://127.0.0.1:1234/v1" | |
| [model_providers.ollama] | |
| name = "Ollama" | |
| base_url = "http://127.0.0.1:11434/v1" | |
| [model_providers.lmstudio] | |
| name = "LMStudio" | |
| base_url = "http://localhost:1234/v1" | |
| [model_providers.ollama] | |
| name = "Ollama" | |
| base_url = "http://localhost:11434/v1" |
Pull request was closed
There was a problem hiding this comment.
Pull request overview
This PR updates the Codex CLI configuration to include additional local OpenAI-compatible model providers, broadening the set of endpoints Codex can talk to during development.
Changes:
- Add an LM Studio provider entry pointing at the local OpenAI-compatible endpoint.
- Add an Ollama provider entry pointing at the local OpenAI-compatible endpoint.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
| base_url = "http://localhost:8317/v1" | ||
|
|
||
| [model_providers.lmstudio] | ||
| name = "LMStudio" |
Automated upgrade
Summary by cubic
Added LMStudio and Ollama as model providers in Codex config to enable local LLM endpoints. Defaults to http://127.0.0.1:1234/v1 (LMStudio) and http://127.0.0.1:11434/v1 (Ollama).
Written for commit 16726ff. Summary will update on new commits.