Skip to content

chore: remove unused model provider configurations - #1134

Merged
shunkakinoki merged 1 commit into
mainfrom
chore-update
Mar 17, 2026
Merged

chore: remove unused model provider configurations#1134
shunkakinoki merged 1 commit into
mainfrom
chore-update

Conversation

@shunkakinoki

@shunkakinoki shunkakinoki commented Mar 17, 2026

Copy link
Copy Markdown
Owner

Entire-Checkpoint: d90487ac9315


Summary by cubic

Removed unused model provider configs (LMStudio, Ollama) from config/codex/config.tpl.toml to simplify the default setup and avoid confusion. Updated the dotagents submodule reference.

Written for commit 0a92a03. Summary will update on new commits.

Copilot AI review requested due to automatic review settings March 17, 2026 06:03
@mesa-dot-dev

mesa-dot-dev Bot commented Mar 17, 2026

Copy link
Copy Markdown

You do not have enough credits to review this pull request. Please purchase more credits to continue.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, 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 focuses on refining the project's configuration and dependencies. It removes obsolete model provider settings from the template configuration file, which helps in maintaining a cleaner and more relevant setup. Additionally, it updates a core submodule, ensuring the project benefits from the latest upstream developments and fixes.

Highlights

  • Configuration Cleanup: Removed unused model provider configurations for 'lmstudio' and 'ollama' from the config.tpl.toml file, streamlining the default configuration.
  • Submodule Update: Updated the dotagents submodule to its latest commit, incorporating recent changes from that project.
Changelog
  • config/codex/config.tpl.toml
    • Removed [model_providers.lmstudio] section
    • Removed [model_providers.ollama] section
  • dotagents
    • Updated submodule commit from 3019cdcffe2c877adb817674cb2cb2be3ffbec2a to 5fc9f94dfe1dba12c1c198c611ea3b2fa7f1ca7a
Activity
  • No recorded activity on this pull request yet.
Using Gemini Code Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

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

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@coderabbitai

coderabbitai Bot commented Mar 17, 2026

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e10d61f9-6c42-4f15-abe6-56123df69e23

📥 Commits

Reviewing files that changed from the base of the PR and between 0ee04f3 and 0a92a03.

📒 Files selected for processing (2)
  • config/codex/config.tpl.toml
  • dotagents

Disabled knowledge base sources:

  • Linear integration is disabled

You can enable these sources in your CodeRabbit configuration.


📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Removed local model provider configurations (LMStudio and Ollama) from default setup
    • Updated project dependencies to latest versions

Walkthrough

The pull request removes two model provider configurations (LMStudio and Ollama) from the configuration template file, leaving OpenRouter intact, and updates the dotagents submodule reference to a newer commit.

Changes

Cohort / File(s) Summary
Model Provider Configuration
config/codex/config.tpl.toml
Removed [model_providers.lmstudio] and [model_providers.ollama] provider entries while retaining [model_providers.openrouter].
Submodule Update
dotagents
Updated submodule pointer from 3019cdc to 5fc9f94.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Poem

🐰 Two providers bid farewell,
LMStudio and Ollama's shell,
OpenRouter alone remains so bright,
While submodules leap to new heights! 🌱

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore-update
📝 Coding Plan
  • Generate coding plan for human review comments

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@shunkakinoki
shunkakinoki merged commit 467d311 into main Mar 17, 2026
25 of 26 checks passed
@shunkakinoki
shunkakinoki deleted the chore-update branch March 17, 2026 06:03
@mesa-dot-dev

mesa-dot-dev Bot commented Mar 17, 2026

Copy link
Copy Markdown

Mesa Description

TL;DR

Remove unused model provider configurations.

What changed?

The specific files removed are not available in the provided summaries.

Description generated by Mesa. Update settings

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes model provider configurations. While the removal of the ollama configuration appears to be correct, the lmstudio configuration has also been removed. This is problematic as lmstudio is still referenced in the same configuration file and used in several shell functions. Removing its definition will likely break existing functionality. I have left a critical comment to have this addressed.

I am having trouble creating individual review comments. Click here to see my feedback.

config/codex/config.tpl.toml (41-48)

critical

The lmstudio model provider configuration is being removed, but it appears to still be in use. It's referenced by oss_provider on line 12 and by the [profiles.qwen-local] on line 48 of this file. Additionally, several fish functions (e.g., _coxel_function.fish) explicitly use lmstudio as a local provider. Removing this configuration section will likely break these features. Please restore the [model_providers.lmstudio] section or remove its usages if it is no longer needed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes unused model provider entries from the Codex TOML config template and updates the dotagents submodule pointer.

Changes:

  • Bumped the dotagents submodule to a newer commit.
  • Removed lmstudio and ollama provider configurations from config/codex/config.tpl.toml.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
dotagents Advances submodule reference to a newer commit.
config/codex/config.tpl.toml Removes unused lmstudio and ollama provider stanzas from the template.

💡 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.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 2 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="dotagents">

<violation number="1" location="dotagents:1">
P1: This submodule bump points to a commit that is not published on the `dotagents` remote, so fresh clones/CI will fail to fetch it.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread dotagents
@@ -1 +1 @@
Subproject commit 3019cdcffe2c877adb817674cb2cb2be3ffbec2a
Subproject commit 5fc9f94dfe1dba12c1c198c611ea3b2fa7f1ca7a

@cubic-dev-ai cubic-dev-ai Bot Mar 17, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1: This submodule bump points to a commit that is not published on the dotagents remote, so fresh clones/CI will fail to fetch it.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At dotagents, line 1:

<comment>This submodule bump points to a commit that is not published on the `dotagents` remote, so fresh clones/CI will fail to fetch it.</comment>

<file context>
@@ -1 +1 @@
-Subproject commit 3019cdcffe2c877adb817674cb2cb2be3ffbec2a
+Subproject commit 5fc9f94dfe1dba12c1c198c611ea3b2fa7f1ca7a
</file context>
Fix with Cubic

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